From 753fcd28a703fb5df6c23f136a5e4a34a055c631 Mon Sep 17 00:00:00 2001 From: Nicolas Patouillard Date: Wed, 14 Dec 2022 17:59:14 +0100 Subject: [PATCH] Test YML file --- test.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/test.yml b/test.yml index 13fc7d4..9ff5422 100644 --- a/test.yml +++ b/test.yml @@ -1,5 +1,11 @@ --- -- name: Run basic PowerShell script - ansible.windows.win_powershell: - script: | - echo "Hello World" \ No newline at end of file +- name: win_file module demo + hosts: all + vars: + ansible_shell_type: powershell + shell_type: powershell + tasks: + - name: Creating an empty file + ansible.windows.win_powershell: + script: | + echo "Hello World" \ No newline at end of file