Test YML file

main
Nicolas Patouillard 3 years ago
parent 14cf177bb5
commit 5899618b8e
  1. 12
      test.yml

@ -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…
Cancel
Save