Hi sir,
Thank you so much..i got the idea.thank you. Am new in ansible and linux so
that am facing lot of issue.Thanks for help.

Thanks and Regards
sreenath v

On 18-Sep-2017 1:16 PM, "Goetz Leupold" <[email protected]> wrote:

> The problem is, that Ansible could not connect to the remote host:
> Permission denied (publickey,password).
> You must add your public key to the ~/.ssh/authorized_keys file of the
> corresponding user(ansible user) on the remote host where you want to do
> the ping.
>
> Am Montag, 18. September 2017 08:33:30 UTC+2 schrieb Sreekuttan Sree:
>>
>>
>> Hi Team,
>>
>> Am new to ansible. when am pinging to node machine it shows error like
>> this.
>> META: ran handlers
>> Using module file /usr/lib/python2.7/dist-packag
>> es/ansible/modules/system/ping.py
>> <192.168.80.129> ESTABLISH SSH CONNECTION FOR USER: ubuntu
>> <192.168.80.129> SSH: EXEC ssh -C -o ControlMaster=auto -o
>> ControlPersist=60s -o KbdInteractiveAuthentication=no -o
>> PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
>> -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=10 -o
>> ControlPath=/root/.ansible/cp/827e4da918 192.168.80.129 '/bin/sh -c
>> '"'"'echo ~ && sleep 0'"'"''
>> <192.168.80.129> (255, '', 'Permission denied (publickey,password).\r\n')
>> 192.168.80.129 | UNREACHABLE! => {
>>     "changed": false,
>>     "msg": "Failed to connect to the host via ssh: Permission denied
>> (publickey,password).\r\n",
>>     "unreachable": true
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/ansible-project/w27Iqn74RcM/unsubscribe.
> To unsubscribe from this group and all its topics, 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/3c2e3fb0-d09d-4957-8d67-4b501263f3f7%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/3c2e3fb0-d09d-4957-8d67-4b501263f3f7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAELaYEzJ46rSKEyJQ3Ngv%3D-tqztSefoSDMCP%3DFgRBkCFrvYKAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to