parent
73704c9049
commit
c076506207
@ -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: |
tasks: |
||||||
- name: Creating an empty file |
- name: Creating an empty file |
||||||
ansible.windows.win_file: |
ansible.windows.win_file: |
||||||
path: "test.txt" |
path: "C:\Users\Administrator\Desktop\example.txt" |
||||||
state: touch |
state: touch |
||||||
Loading…
Reference in new issue