@ -1,5 +1,11 @@
---
- name: Run basic PowerShell script
- 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"