Increase ControlPersist timeout to 300 seconds

This ControlPersist socket periodically closing seems to be the
cause of intermittemt MODULE FAULIRE particularly in zuul CI
jobs. Extend the timout to make this less likley to happen.

See https://github.com/ansible/ansible/issues/78344

Change-Id: I54a9e637c9575c32429d28b89541ba026580e511
This commit is contained in:
Jonathan Rosser 2022-07-28 16:47:21 +01:00
parent 25d9d01d17
commit cbdba67ad0

View File

@ -50,6 +50,7 @@ export ANSIBLE_TIMEOUT="${ANSIBLE_TIMEOUT:-5}"
export ANSIBLE_TRANSPORT="${ANSIBLE_TRANSPORT:-openstack.osa.ssh}"
export ANSIBLE_SSH_PIPELINING="${ANSIBLE_SSH_PIPELINING:-True}"
export ANSIBLE_SSH_RETRIES="${ANSIBLE_SSH_RETRIES:-5}"
export ANSIBLE_SSH_ARGS="${ANSIBLE_SSH_ARGS:--C -o ControlMaster=auto -o ControlPersist=300}"
export ANSIBLE_PIPELINING="${ANSIBLE_SSH_PIPELINING}"
export ANSIBLE_FORKS="${ANSIBLE_FORKS:-OSA_ANSIBLE_FORKS}"