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 <seb@redhat.com>
pull/1860/head
Sébastien Han 2017-09-06 11:25:47 +02:00
parent b6c1a0c68f
commit f188042956
1 changed files with 5 additions and 0 deletions

View 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