Unreachable, msg=Authentication Failure

I have just started Ansible today and is facing this early issue.

I have declared ansible_ssh_pass and ansible_ssh_user in the hosts file.

But still this error is coming, Why iis this an issue ?

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

What is the cause of this problem ?

Hi,

Did you find any solution for this I am also facing the same issue.

The error clearly states that an Authentication Failure occurred.
The most likely cause is that the username/password combination doesn't work.