Increase Ansible SSH connection retries
Retries for Ansible SSH connections have been enabled in master but not the stable branches. Testing using openstack-ansible-ops multi-node AIOs results in failures due to SSH connection errors on a regular basis. This change increases the number of retries from 3 to 5 to increase the time allowed for a connection to be made from approximately 20 seconds to approximately 50 seconds. This will then provide for this setting to be backported to all stable branches. Change-Id: I45dcf6313e1daf63b35b8620b3467eebac0eb95d
This commit is contained in:
parent
5dae91534c
commit
852a43fdd5
@ -47,7 +47,7 @@ export ANSIBLE_HOST_KEY_CHECKING="${ANSIBLE_HOST_KEY_CHECKING:-False}"
|
||||
export ANSIBLE_TIMEOUT="${ANSIBLE_TIMEOUT:-5}"
|
||||
export ANSIBLE_TRANSPORT="${ANSIBLE_TRANSPORT:-ssh}"
|
||||
export ANSIBLE_SSH_PIPELINING="${ANSIBLE_SSH_PIPELINING:-True}"
|
||||
export ANSIBLE_SSH_RETRIES="${ANSIBLE_SSH_RETRIES:-3}"
|
||||
export ANSIBLE_SSH_RETRIES="${ANSIBLE_SSH_RETRIES:-5}"
|
||||
export ANSIBLE_PIPELINING="${ANSIBLE_SSH_PIPELINING}"
|
||||
|
||||
export ANSIBLE_STRATEGY_PLUGINS="${ANSIBLE_STRATEGY_PLUGINS:-/etc/ansible/roles/plugins/strategy}"
|
||||
|
Loading…
Reference in New Issue
Block a user