File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 118118 vars :
119119 kayobe_environment_path : " {{ src_directory }}/kayobe-config/etc/kayobe/environments/{{ kayobe_config_environment }}"
120120
121+ # WORKAROUND:
122+ # There is a race condition in Ansible that can result in this failure:
123+ # msg: |-
124+ # MODULE FAILURE
125+ # See stdout/stderr for the exact error
126+ # rc: -13
127+ # See https://github.com/ansible/ansible/issues/78344 and
128+ # https://github.com/ansible/ansible/issues/81777.
129+ # In https://github.com/stackhpc/stackhpc-kayobe-config/pull/1108 we applied
130+ # a workaround to increase the ControlPersist timeout to 1 hour, but this
131+ # does not always work.
132+ # Disabling SSH pipelining prevents the issue at the cost of Ansible
133+ # execution duration.
134+ - name : Disable SSH pipelining
135+ ansible.builtin.replace :
136+ path : " {{ src_directory }}/{{ kayobe_config_name }}/etc/kayobe/ansible.cfg"
137+ regexp : " ^pipelining.*=.*"
138+ replace : " pipelining = False"
139+
121140 - name : Ensure hooks directory are present
122141 ansible.builtin.file :
123142 dest : " {{ src_directory }}/{{ kayobe_config_name }}/etc/kayobe/hooks/{{ item }}"
You can’t perform that action at this time.
0 commit comments