Test YML file

main
Nicolas Patouillard 3 years ago
parent 73704c9049
commit c076506207
  1. 8
      test.yml

@ -1,12 +1,6 @@
---
- name: win_file module demo
hosts: all
become: false
gather_facts: false
vars:
myfile: 'C:\Users\Administrator\Desktop\example.txt'
tasks:
- name: Creating an empty file
ansible.windows.win_file:
path: "test.txt"
path: "C:\Users\Administrator\Desktop\example.txt"
state: touch
Loading…
Cancel
Save