Ansible tower upgrade fails with error failed to connect to the host via ssh: Connection timed out during banner exchange"
Issue
-
Ansible tower upgrade fails with error failed to connect to the host via ssh: Connection timed out during banner exchange"
TASK [repos_el : Install the Tower bundle repository] ************************** ok: [tower.example.com] => {"changed": false, "checksum": "3640f929e53b35403388cec7edda2362f1fdec64", "dest": "/etc/yum.repos.d/ansible-tower.repo", "gid": 0, "group": "root", "mode": "0640", "owner": "root", "path": "/etc/yum.repos.d/ansible-tower.repo", "secontext": "system_u:object_r:system_conf_t:s0", "size": 455, "state": "file", "uid": 0} ok: [tower.example.com] => {"changed": false, "checksum": "3640f929e53b35403388cec7edda2362f1fdec64", "dest": "/etc/yum.repos.d/ansible-tower.repo", "gid": 0, "group": "root", "mode": "0640", "owner": "root", "path": "/etc/yum.repos.d/ansible-tower.repo", "secontext": "unconfined_u:object_r:system_conf_t:s0", "size": 455, "state": "file", "uid": 0} ok: [tower.example.com] => {"changed": false, "checksum": "3640f929e53b35403388cec7edda2362f1fdec64", "dest": "/etc/yum.repos.d/ansible-tower.repo", "gid": 0, "group": "root", "mode": "0640", "owner": "root", "path": "/etc/yum.repos.d/ansible-tower.repo", "secontext": "system_u:object_r:system_conf_t:s0", "size": 455, "state": "file", "uid": 0} ok: [tower.example.com] => {"changed": false, "checksum": "3640f929e53b35403388cec7edda2362f1fdec64", "dest": "/etc/yum.repos.d/ansible-tower.repo", "gid": 0, "group": "root", "mode": "0640", "owner": "root", "path": "/etc/yum.repos.d/ansible-tower.repo", "secontext": "system_u:object_r:system_conf_t:s0", "size": 455, "state": "file", "uid": 0} fatal: [tower.example.com]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Connection timed out during banner exchange", "unreachable": true}
Environment
- Ansible Tower 3.7
- Ansible Tower 3.8
- Ansible Automation Platform
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.