@ -1,6 +1,8 @@
---
- name: Creating an empty file
- name: win_file module demo
tasks:
ansible.windows.win_file:
hosts: all
path: 'C:\\Users\\Administrator\\Desktop\\example.txt'
state: touch