From: Sébastien Han Date: Wed, 6 Sep 2017 09:25:47 +0000 (+0200) Subject: ansible.cfg: increase ssh timeout X-Git-Tag: v3.0.0rc7~16^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1860%2Fhead;p=ceph-ansible.git ansible.cfg: increase ssh timeout CI slaves are slow so by setting a higher value we can avoid the following error: Timeout (12s) waiting for privilege escalation prompt: Now we wait for 32 sec... More info here: https://github.com/ansible/ansible/issues/14426 Signed-off-by: Sébastien Han --- diff --git a/ansible.cfg b/ansible.cfg index 186304e37..e7259e033 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -11,6 +11,11 @@ log_path = /var/log/ansible.log # Disable them in the context of https://review.openstack.org/#/c/469644 retry_files_enabled = False +# This is the default SSH timeout to use on connection attempts +# CI slaves are slow so by setting a higher value we can avoid the following error: +# Timeout (12s) waiting for privilege escalation prompt: +timeout = 30 + [ssh_connection] # see: https://github.com/ansible/ansible/issues/11536 control_path = %(directory)s/%%h-%%r-%%p