I am trying to copy directories on remote machine using Ansible.
It throws "msg": "Remote copy does not support recursive copy of directory:" error.
below is my ansible playbook.
- name: Copy Juddi depenedent directories copy: src: "{{ source_vm}}/{{ item }}" dest: "{{ destination_vm }}/" remote_src: yes with_items: - "dir1" - "dir2" - "dir3"
Can anyone please help me?