Ansible报错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ansible报错相关的知识,希望对你有一定的参考价值。
出现以下报错先检查/etc/hosts查看ip是否有变更:
"msg": "Failed to connect to the host via ssh: ssh: connect to host s-nginx-3 port 22: Connection timed out",
出现以下报错先检查/root/.ssh/known_hosts删除nginx-2的相关rsa的信息即可.
nginx-2 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-th by the remote host is
SHA256:mLGTRAdsoC/plMuoawCaV6gCJipekSikSi6mB5j85ME.
Please contact your system administratown_hosts:12
ECDSA host key for nginx-2 has changed and you have requested strict checking.
Host key verif
"unreachable": true
}
vim ~/.ssh/known_hosts
以上是关于Ansible报错的主要内容,如果未能解决你的问题,请参考以下文章
错误记录Flutter 混合开发获取 BinaryMessenger 报错 ( FlutterActivityAndFragmentDelegate.getFlutterEngine() )(代码片段
springcloud报错-------关于 hystrix 的异常 FallbackDefinitionException:fallback method wasn't found(代码片段