Ansible: Failed to connect to the host via ssh

24 views
Skip to first unread message

Lokanath Veluru

unread,
Feb 9, 2018, 10:01:00 AM2/9/18
to Ansible Project
Hi Ansible Team:

          This is application requirement to do package installation and configuration tunning on multiple servers and i have done with my requirement on all servers except one server(10.XXX.XXX.XX).

10.XXX.XXX.XX: In this server, we are able to do SSH but while we are executing with ansible script to do package installation on server i'm getting below error:

#######################################################################
PLAY [10.XXX.XXX.XX] ***************************************************************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************************************************************
fatal: [10.XXX.XXX.XX]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Shared connection to 10.XXX.XXX.XX closed.\r\n", "unreachable": true}
        to retry, use: --limit @/etc/ansible/Hadoop/NFS-Mount.retry

PLAY RECAP *************************************************************************************************************************************************************
10.XXX.XXX.XX              : ok=0    changed=0    unreachable=1    failed=0

#######################################################################

==> Please hep us to getting issue resolved. Thank you....

Regards,
Lokanath.




Reply all
Reply to author
Forward
0 new messages