# copy a directory from control node to managed node # https://www.freekb.net/Article?id=759 # https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html # --- - name: "12 - Playing with Ansible - copy a directory from contol to managed node" hosts: all tasks: - name: copy a directory from contol to managed node ansible.builtin.copy: src: /home/dpierre/ansible-practice/ dest: /home/dpierre/tmp/temp_files/ansible-practice ...