It's really strange. Still getting that timeout error although it is set 
differently:

TASK [Upgrade packages] 
********************************************************
task path: /opt/ansible/playbooks/sanity.yml:36
Using module file 
/usr/lib/python2.7/dist-packages/ansible/modules/core/packaging/os/apt.py
<fimfcn1> ESTABLISH SSH CONNECTION FOR USER: jurgenhaas
<fimfcn1> SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -o 
ForwardAgent=yes -o KbdInteractiveAuthentication=no -o 
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
-o PasswordAuthentication=no -o User=jurgenhaas -o ConnectTimeout=10 -o 
ConnectTimeout=240s -o ControlMaster=auto -o ControlPersist=60s -o 
ForwardAgent=yes -o 
ControlPath=/home/jurgenhaas/.ansible/cp/ansible-ssh-%h-%p-%r fimfcn1 
'/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansible, 
key=ftwxuktzuptwgsqvjrvadpkstknljlfl] password: " -u root /bin/sh -c 
'"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ftwxuktzuptwgsqvjrvadpkstknljlfl; 
/usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
fatal: [fimfcn1]: FAILED! => {
    "failed": true, 
    "msg": "Timeout (12s) waiting for privilege escalation prompt: "
}


Any other idea I could go about? That error comes fairly early I have to 
say too, it isn't waiting that long.

Am Mittwoch, 8. März 2017 08:24:55 UTC+1 schrieb Jürgen Haas:
>
> OK, that certainly makes a difference. The output of -vvvv is now as 
> expected and I'll deploy that to may infrastructure and will watch the 
> behavior the next couple of days, if that stabilizes the operations on that 
> host.
>
> Thanks Brian for your help.
>
> Am Dienstag, 7. März 2017 18:48:46 UTC+1 schrieb Brian Coca:
>>
>> you want: 
>>
>> ansible_ssh_common_args: -o ConnectTimeout=240s -o ControlMaster=auto 
>> -o ControlPersist=60s -o ForwardAgent=yes 
>>
>>
>> ansible_ssh_args does not exist, you DO have ssh_args in ansible.cfg 
>> but that is 'global'. 
>>
>>
>> -- 
>> ---------- 
>> Brian Coca 
>>
>

-- 
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/06b0a812-e58b-439a-bffd-9966ea27bcc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to