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?