Re: [ansible-project] Timeout problem with far distance host

2017-03-23 Thread Brian Coca
Also note that the 'displayed' timeout (12s) is the default value, not inferred from ssh_args. -- 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 e

Re: [ansible-project] Timeout problem with far distance host

2017-03-11 Thread Jürgen Haas
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/packagin

Re: [ansible-project] Timeout problem with far distance host

2017-03-07 Thread Jürgen Haas
OK, that certainly makes a difference. The output of - 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 sch

Re: [ansible-project] Timeout problem with far distance host

2017-03-07 Thread 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 subscrib

Re: [ansible-project] Timeout problem with far distance host

2017-03-07 Thread Jürgen Haas
That's strange, it doesn't use those settings although they are in the inventory for that host: Using module file /usr/lib/python2.7/dist-packages/ansible/modules/core/ system/setup.py ESTABLISH SSH CONNECTION FOR USER: jurgenhaas SSH: EXEC ssh -vvv -o ControlMaster=auto -o ControlPersist=60s -

Re: [ansible-project] Timeout problem with far distance host

2017-03-07 Thread Brian Coca
Can you show - output? -- 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 ansible-project+unsubscr...@googlegroups.com. To post to th

Re: [ansible-project] Timeout problem with far distance host

2017-03-05 Thread Jürgen Haas
Here is what I've added to the host vars for that particular host: ``` ansible_ssh_args: -o ConnectTimeout=240s -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes ``` Unfortunately that didn't help. The connection timeout setting is new to this host, the other values are the

Re: [ansible-project] Timeout problem with far distance host

2017-02-28 Thread Brian Coca
You could set ConnectTimeout in ansible_ssh_args for that host -- 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 ansible-project+unsubsc

[ansible-project] Timeout problem with far distance host

2017-02-26 Thread Jürgen Haas
This has been discussed at many places but this scenario is certainly different. Within my repository I do have one host which is on mainland China, i.e. inside the great firewall. And therefore the connection is significantly slower than anything else. My playbooks do work most of the time, bu