On 05.01.17 09:30 张利高 wrote:
> how to synchronize files or Dir between different remote hosts? 
> 
> if there are 2 hosts: s1 and s2, and ansible running at s3,
> how to synchronize dirs on s1 and s2?

First thought: Sync from s1 to s3 (put it somewhere on the controller)
and then sync this to s2.

Syncing directly via e.g. rsync might cause trouble with ssh-keys,
agents and stuff like that.

But I never had the need to actually do this, maybe someone else
already has...

Johannes

-- 
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/0a8cb864-a46c-d0c9-c91b-ff600c61d68c%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to