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

On Friday, June 3, 2016 at 2:13:03 AM UTC-5, Johannes Kastl wrote:
>
> On 02.06.16 22:05 Tom Hanson wrote: 
>
> [ maybe snip the fullquote the next time, makes mails very long...] 
>
> > yes, My key works on the servers after they are configured 
>
> My guess: Connecting as root the first time works, as you tell ansible 
> with which user it should connect. After that, ansible is missing this 
> info. And I guess the target username is not the one you have on your 
> controller. 
>
> What happens if you include the following into your update.yml: 
>
> vars: 
>   ansible_user: foobar 
>
> And replace foobar with the user on the remote machine. 
>
> If that does not solve it, then maybe the VPN is the reason, and ssh 
> login is only allowed on some IPs or from some IPs. That would be a 
> task in the first ansible playbook, maybe have a look. 
>
> 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/2ed56a71-8ea7-46db-a84f-7e1bbca4fc38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to