unsupported parameter for module: checksum

556 views
Skip to first unread message

Sanket Gupta

unread,
May 5, 2014, 2:00:21 PM5/5/14
to ansible...@googlegroups.com
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?

Adam Morris

unread,
May 5, 2014, 5:00:04 PM5/5/14
to ansible...@googlegroups.com
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

Michael DeHaan

unread,
May 5, 2014, 11:51:55 PM5/5/14
to ansible...@googlegroups.com
1.6 is released as of today, you should be good to go :)




--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
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.

Reply all
Reply to author
Forward
0 new messages