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

7 lines
160 B
YAML

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