after upgrading to ansible 2.0 i am getting an error when trying to synchronize a directory to a remote server. Ansible version: 2.0.0.2
The entire playbook runs with sudo:yes, but the error only happens on the synchronize module. does anyone have have an idea or places to look to resolve my issue? I switched from synchronize to copy and everything works, but obviously very slow. --- - name: copy source to host directory synchronize: > src=../../../src/ dest=/var/www/aaa-newsletter-builder times=no perms=no group=no { "_ansible_no_log": false, "module_stderr": "sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?\n", "changed": false, "module_stdout": "", "failed": true, "parsed": false, "msg": "MODULE FAILURE", "play": "build email builder", "task": "TASKNAME : copy source to host directory", "role": "ROLENAME", "ignore_errors": null, "status": "failed", "module_name": "synchronize", "module_args": "", "created": "2016-02-23T15:09:08.183Z", "host_id": 10, "host_name": "REDACTED", "id": 22370, "parent": 22369, "event": "Host Failed" } -- This communication (including all attachments) is intended solely for the use of the person(s) to whom it is addressed and should be treated as a confidential AAA communication. If you are not the intended recipient, any use, distribution, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately delete it from your system and notify the originator. Your cooperation is appreciated. -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/30943597-38e3-4107-9d19-4f0c342405b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.