]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ansible.cfg: increase ssh timeout 1860/head
authorSébastien Han <seb@redhat.com>
Wed, 6 Sep 2017 09:25:47 +0000 (11:25 +0200)
committerSébastien Han <seb@redhat.com>
Wed, 6 Sep 2017 09:26:36 +0000 (11:26 +0200)
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 <seb@redhat.com>
ansible.cfg

index 186304e37c5571788b90ba2c11c6f34fdd717e09..e7259e033b38981686133e06532696905d51d7ed 100644 (file)
@@ -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