我在启动我的本地主机主机时发生此错误。Ansible在本地主机上的SSH错误连接
TASK [setup] *******************************************************************
fatal: [127.0.0.1]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
to retry, use: --limit @deploy-test-env.retry
PLAY RECAP *********************************************************************
127.0.0.1 : ok=0 changed=0 unreachable=1 failed=0
我的hosts文件中有这样的配置:
[local]
127.0.0.1
问题是什么?
谢谢!
有您按照错误消息的建议,如果有什么详细的输出? –