我在啓動我的本地主機主機時發生此錯誤。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
問題是什麼?
謝謝!
有您按照錯誤消息的建議,如果有什麼詳細的輸出? –