ansible-training-test/playbooks/copy_from_dirs.yml

10 lines
229 B
YAML
Raw Normal View History

2018-07-27 10:01:50 +02:00
- hosts: devoteam
gather_facts: no
vars_files:
- "{{playbook_dir}}/vars/vars.yml"
2018-07-27 10:01:50 +02:00
tasks:
- name: "Copy files from {{ dir_src }} to {{ dir_dst }}"
copy:
src: "{{dir_src}}/"
dest: "{{dir_dst}}/"