From f188042956b4e2b2bc352f09970b1108473ed0d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Wed, 6 Sep 2017 11:25:47 +0200 Subject: [PATCH] ansible.cfg: increase ssh timeout MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- ansible.cfg | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5