It seems that synchronize module doesn't play well with it. It seems that it tries to login to ansible_ssh_user despite the fact that I specified remote_user. This might be a bug, or just simple misunderstanding from mu side. In any case could you please tell me how to make it work?
Here is excerpt from the playbook:
TASK: [sync] ******************************************************************
failed: [test_ansible] => {"cmd": "rsync --delay-updates --compress --timeout=10 --archive --rsh 'ssh -o StrictHostKeyChecking=no' --out-format='<<CHANGED>>%i %n%L' ../local-repo/silf-deploy-big-files/pythonz-x86_64 ans...@192.168.56.90:/home/attenuation/.pythonz/", "failed": true, "rc": 12}
msg: rsync: mkdir "/home/attenuation/.pythonz" failed: Permission denied (13)
rsync error: error in file IO (code 11) at main.c(605) [Receiver=3.0.9]
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
Here is revelent host
[test]
test_ansible ansible_ssh_host=192.168.56.90 ansible_ssh_user=ansible
--
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.
For more options, visit https://groups.google.com/groups/opt_out.