First, check SSH connection. In your case:
ssh 127.0.0.1

On Thursday, June 16, 2016 at 5:28:39 AM UTC+5, navdeep uniyal wrote:
>
> Hi all, 
>
> I am new to ansible. I have been learning ansible using ad hoc commands as 
> well as ansible playbooks. Things were running fine until I started getting 
> errors as given below. I have no idea how to resolve these errors. Please 
> help.
>
> navdeep@ansible-master:~$ sudo ansible all -m ping -s -k
> SSH password: 
> 127.0.0.1 | UNREACHABLE! => {
>     "changed": false, 
>     "msg": "Authentication failure.", 
>     "unreachable": true
> }
>
>
>
>
> navdeep@ansible-master:~$ sudo ansible-playbook our-playbook.yml -s -k -K
> SSH password: 
> SUDO password[defaults to SSH password]: 
>
> PLAY [local] 
> *******************************************************************
>
> TASK [setup] 
> *******************************************************************
> fatal: [127.0.0.1]: UNREACHABLE! => {"changed": false, "msg": 
> "Authentication failure.", "unreachable": true}
> to retry, use: --limit @our-playbook.retry
>
> PLAY RECAP 
> *********************************************************************
> 127.0.0.1                  : ok=0    changed=0    unreachable=1   
>  failed=0   
>
>
>
>
>

-- 
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/00ddc361-ced8-4262-9ac6-2d7c10d53a7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to