ansible-training-test/playbooks/copy_from_dirs.yml

9 lines
229 B
YAML
Executable file

- hosts: devoteam
gather_facts: no
vars_files:
- "{{playbook_dir}}/vars/vars.yml"
tasks:
- name: "Copy files from {{ dir_src }} to {{ dir_dst }}"
copy:
src: "{{dir_src}}/"
dest: "{{dir_dst}}/"