I am trying to use the synchronize module and I notice that it first connects as root at the local machine before calling rsync. However, root user's ssh key is not set in the authorized keys of the remote host root user, so it prompts for password, which causes ansible-playbook to hang. I don' t want to rsync from the local machine as root user. I want to rsync as the current user when invoking ansible-playbook, which Ι think should be the expected behavior. Am I missing something here?
Ansible version: 1.6.1 -- 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/53711C8E.9010209%40yahoo.gr. For more options, visit https://groups.google.com/d/optout.
