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

8 lines
149 B
YAML
Raw Normal View History

2018-07-27 10:01:50 +02:00
- name: "delete two files in {{ dir_dst }}"
file:
path: "{{dir_dst}}/{{item}}"
state: absent
loop:
- "{{file01}}"
- "{{file02}}"