I have this error when I launch my playbook against the localhost host.
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
And my hosts file have this config:
[local]
127.0.0.1
What is the problem?
Thanks!
question from:https://stackoverflow.com/questions/37184699/ansible-ssh-error-connection-in-localhost