On 03.06.16 22:54 Tom Hanson wrote: > What happens if you include the following into your update.yml: > > vars: > ansible_user: foobar > > that seems to have done the trick, thanks for the help
I guess when you tried to log into the machine manually, you specified a user: ssh user@machine or ssh user@ip-address So your ssh-client knew as which user to connect. Ansible did not know that. And you told it only in your first step with the ansible_user=root part. You might want to read up on ssh connections. https://docs.ansible.com/ansible/intro_getting_started.html#remote-connection-information Johannes -- 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/57529C38.3090907%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
