parent
14cf177bb5
commit
5899618b8e
@ -1,9 +1,5 @@ |
|||||||
--- |
--- |
||||||
- name: win_file module demo |
- name: Run basic PowerShell script |
||||||
hosts: all |
ansible.windows.win_powershell: |
||||||
vars: |
script: | |
||||||
ansible_shell_type: powershell |
echo "Hello World" |
||||||
shell_type: powershell |
|
||||||
tasks: |
|
||||||
- name: Creating an empty file |
|
||||||
win_shell: 'New-Item C:\test.txt -ItemType File' |
|
||||||
Loading…
Reference in new issue