Unreachable, msg: Authentication failure

556 views
Skip to first unread message

Luvpreet Singh

unread,
May 22, 2017, 10:19:12 AM5/22/17
to Ansible Project
This is my first time, and I am facing this issue.

I have used ansible_ssh_pass, and ansible_ssh_user also.

But this message is coming,

luvpreet@DHARI-Inspiron-3542:/etc/ansible$ sudo ansible -m ping all
vogo-alpha.cloudapp.net | UNREACHABLE! => {
    "changed": false,
    "msg": "Authentication failure.",
    "unreachable": true
}

This is my file,
[webservers]
vogo-alpha.cloudapp.net ansible_ssh_pass=pass ansible_ssh_user=user

i can login via simple SSH.
I need to know why is this problem coming in the way ? WHat is the reason and a little hint about the solution ?

Kai Stian Olstad

unread,
May 26, 2017, 2:40:02 PM5/26/17
to ansible...@googlegroups.com
You need to run ansible with -vvvv to get more information about the reason.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages