synchronize not working between

17 views
Skip to first unread message

Gopi Krishna

unread,
Jan 30, 2018, 7:57:10 AM1/30/18
to Ansible Project
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.

Kai Stian Olstad

unread,
Feb 7, 2018, 5:33:54 AM2/7/18
to ansible...@googlegroups.com
You need to have ssh login from 10.210.8.149 to target without password
to make it work.


--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages