--- - name: Creating an empty file ansible.windows.win_file: hosts: all path: 'C:\\Users\\Administrator\\Desktop\\example.txt' state: touch