student@pod-muhamadtaupikhidayat123-controller:~/quiz-6$ sudo ansible-playbook –vault-password-file=vault-pass quiz-6_loop.yml
PLAY [Create user accounts for all our servers] *********************************************************
TASK [Gathering Facts] **********************************************************************************
fatal: [pod-muhamadtaupikhidayat123-managed1]: UNREACHABLE! => {“changed”: false, “msg”: “Failed to connect to the host via ssh: root@pod-muhamadtaupikhidayat123-managed1: Permission denied (publickey,password).”, “unreachable”: true}
fatal: [pod-muhamadtaupikhidayat123-managed2]: UNREACHABLE! => {“changed”: false, “msg”: “Failed to connect to the host via ssh: root@pod-muhamadtaupikhidayat123-managed2: Permission denied (publickey,password).”, “unreachable”: true}
please help me in solving this problem. In this case, I experienced a problem when I wanted to do an ansible-playbook and apparently experienced an UNREACHABLE message. I have imported the ssh-key.
Saya sangat berharap sipapun dapat membantu
Uwowww is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.