On Monday, May 5, 2014 11:00:21 AM UTC-7, Sanket Gupta wrote: > > Hello > I am trying to use the synchroize /var/www folder between control host and > my appserver(s) > > Although the basic synchronize command works, the other options given at > http://docs.ansible.com/synchronize_module.html dont seem to work. > This is a recent install on Ubuntu 14 and ansible version is > ansible-playbook 1.5.4 > > > synchronize src=/var/www/ dest=/var/www > - works but copies all files > > synchronize checksum=yes src=/var/www/ dest=/var/www > > fails with error > failed: [10.179.158.146] => {"failed": true} > msg: unsupported parameter for module: checksum > > FATAL: all hosts have already failed -- aborting > > synchronize src=/var/www/ dest=/var/www > rsync_opts=--checksum,--exclude=.git > > fails with error > failed: [10.179.158.146] => {"failed": true} > msg: unsupported parameter for module: rsync_opts > > FATAL: all hosts have already failed -- aborting > > What am i doing wrong? >
Nothing... But if you read the documentation at that page you will see that two parameters listed there are marked as (added in Ansible 1.6) (as well as two that are marked (added in Ansible 1.5)).. Those two are checksum and rsync_opts. So you have two choices... 1) Upgrade to the development version 2) Don't use checksum or rsync_opts. Adam -- 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/7efae010-9953-4770-8899-f9a19cb51418%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
