On 30.01.2018 13:57, Gopi Krishna wrote:
Hi all,

synchronize command is not working.

---
- hosts: target
  tasks:
       - name: "copy between two remote hosts"
         synchronize:
               src: /root/gopi/file_149
               dest: /root/gopi/
         #delegate_to: "{{ groups['oraclesource'][0] }}"
         delegate_to: "{{ item }}"
         with_items:
#              - "{{ groups['source'][0] }}"
              - 10.210.8.149


the task is being idle .........any one can help.

You need to have ssh login from 10.210.8.149 to target without password to make it work.


--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/29fc3f1fdc00cb482b0eeea61406cf27%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to