On 24. mai 2017 23:08, Daley Okuwa wrote:
hello when i try to run this command ansible all -i hosts -s --sudo -m pingI get this error message 192.168.85.129 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,password).\r\n", "unreachable": true Please tell me what i am doing wrong Normally i can ssh into this hosts 192.168.85.129 from the control server
Are you using keys or password? If you are using password you are missing -k/--ask-pass option. -- Kai Stian Olstad -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2d2fb400-91bf-3801-e012-4345b7f326cb%40olstad.com. For more options, visit https://groups.google.com/d/optout.
