CI: Workaround rc:-13 issue

There is a race condition in Ansible that can result in this failure:

  msg: |-
  MODULE FAILURE
  See stdout/stderr for the exact error
  rc: -13

Disabling SSH pipelining prevents the issue at the cost of Ansible
execution duration.

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

Change-Id: I62221df4650ddd02afdbc0993e783bf66b706a1c
This commit is contained in:
Will Szumski 2024-09-18 09:38:22 +01:00
parent 903126c018
commit 2c86ba774e

View File

@ -15,7 +15,9 @@
callbacks_enabled = ansible.posix.profile_tasks
[ssh_connection]
pipelining = True
# NOTE(wszusmki): Disable pipelining due to:
# https://github.com/ansible/ansible/issues/81777
pipelining = False
retries = 3
ansible_cfg_kolla: |
[defaults]
@ -31,7 +33,9 @@
callbacks_enabled = ansible.posix.profile_tasks
[ssh_connection]
pipelining = True
# NOTE(wszusmki): Disable pipelining due to:
# https://github.com/ansible/ansible/issues/81777
pipelining = False
retries = 3
roles:
- role: kayobe-diagnostics