Re: [ansible-project] Synchronize module and with_first_found

2014-05-28 Thread Carlos A. Carnero Delgado
> Seems like you'd want the trailing slash here, since synchronize > is in fact just a thin wrapper around > > local_action: rsync ... I knew that the synchronize module was a wrapper over rsync. What's new to me is that it is a local_action. I even seem to remember synchronize failing when the re

Re: [ansible-project] Synchronize module and with_first_found

2014-05-27 Thread Michael DeHaan
"This works incorrectly, since it will put the containing directory, what has been properly found with with_first_found inside the destination." Seems like you'd want the trailing slash here, since synchronize is in fact just a thin wrapper around local_action: rsync ... On Mon, May 26, 2014 a

[ansible-project] Synchronize module and with_first_found

2014-05-27 Thread Carlos A. Carnero Delgado
Hi, I (an Ansible newb) need to pass a directory of configuration files to remote nodes, so that the files on the remote end should *exactly* mirror what I have on the Ansible side. For instance, in my files directory (using a role) I have the following directories etc/yum.repos.d-a.host.fqdn