问题
I am trying to run the command ansible -m ping all
from one EC2 instance to another ect2 instance using a different user name than ubuntu. For both EC2 instances, the operating system is Ubuntu 16.04. I can ssh
from host to remote. And I get the following error:
fatal: [uat]: UNREACHABLE! =>
{"changed": false,
"msg": "EOF on stream; last 100 lines received:\nssh_exchange_identification: Connection closed by remote host\r",
"unreachable": true}
来源:https://stackoverflow.com/questions/62465429/got-error-while-running-this-ansible-m-ping-all-command-but-could-be-able-t