# output 1 10.238.4.45 UNREACHABLE! => {"changed": false, "msg": "Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp/ansible-tmp-1637588359.02-24546627978751 `\" && echo ansible-tmp-1637588359.02-24546627978751=\"` echo ~/.ansible/tmp/ansible-tmp-1637588359.02-24546627978751 `\" ), exited with result 1", "unreachable": true} # output 2 [ansible@master tmp]$ ansible -i inventory.yml all -m ping 10.238.4.45 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: Connection timed out during banner exchange", "unreachable": true }
ssh_exchange_identification: Connection closed by remote host