ansible-training-test/playbooks/tasks/copy_files.yml
2018-07-27 10:01:50 +02:00

7 lines
172 B
YAML

- name: "Copy two files from {{ dir_src }} to {{ dir_dst }}"
copy:
src: "{{dir_src}}/{{item}}"
dest: "{{dir_dst}}/"
loop:
- "{{file01}}"
- "{{file02}}"