Ansible problem

76 views
Skip to first unread message

程淼

unread,
Mar 15, 2017, 9:50:31 AM3/15/17
to Ansible Project
hi guys:

I use ansible run commadn on remote hosts,but some host was failed on below problem.
I can ssh to host1 sucessfully.
And  i have 20 clients,2 was failed.
I had already clean the ssh key 2 times, and re-add hosts to knows hosts.

What is the problem.

Thanks.

----------------------------------------------------------------------------------------------------------------------------------------------------------------
host1 | UNREACHABLE! => {
    "changed": false, 
    "msg": "Failed to connect to the host via ssh: Couldn't read packet: Connection reset by peer\r\n", 
    "unreachable": true
}
host2 | SUCCESS | rc=0 >>
www.baidu.com is alive
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages