Hello guys,
My ansible playbooks are failing in-between with below error while running in AWX. This is happening for all the playbooks after few steps [5-6 steps].
fatal: UNREACHABLE! => {“changed”: false, “msg”: “Failed to connect to the host via ssh: Connection timed out during banner exchange”, “unreachable”: true}
Tried to tweak the ssh timeout values in ansible.cfg file but that didn’t help. ssh connection is via jumpbox and we use ssh proxy to connect to the end servers.
[ssh_connection]
ssh_args = -C -o ControlMaster=auto -o ControlPersist=600s
timeout = 60
in playbook:
ansible_ssh_args: ‘-o ControlMaster=auto -o ControlPersist=600s -o ProxyCommand=“ssh -o StrictHostKeyChecking=no -W %h:%p -l ”’
AWX versions:
quay.io/ansible/awx:19.5.1
quay.io/ansible/awx-ee:latest
Please let me know if you need any other details. Any suggestions will be really helpful.