ansible-training-test/playbooks/tasks/delete_files.yml

7 lines
137 B
YAML

- name: "delete two files in {{ dir_dst }}"
file:
path: "{{item}}"
state: absent
loop:
- "{{file01}}"
- "{{file02}}"