Hi

You have provided very little information. Please provide at least the
playbook and your inventory.

On Sat, 27 Jun 2020 at 07:11, Ashwini Jha <[email protected]> wrote:

> Dear All,
> I am receiving this error when I tried to execute server.yml file. Anyone
> please suggest appropriate changes that i need to do in inventory file,
> host file or server.yml.
> I tried to execute this playbook against local-host.
>
> administrator@JAVALAB01-43:~/nephele/ansible$ ansible-playbook -i
> inventory server.yml
>
> PLAY [servers]
> *****************************************************************
>
> TASK [Gathering Facts]
> *********************************************************
> *fatal: [localhost]: UNREACHABLE! => {"changed": false, "msg": "Failed to
> connect to the host via ssh: root@localhost: Permission denied
> (publickey,password).", "unreachable": true}*
>
> PLAY RECAP
> *********************************************************************
> localhost                  : ok=0    changed=0    unreachable=1
> failed=0    skipped=0    rescued=0    ignored=0
>
>
> Regards,
> Ashwini Kumar Jha
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/5e861c6d-03b9-4efb-a0b3-b9a1ff1f4682n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/5e861c6d-03b9-4efb-a0b3-b9a1ff1f4682n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMsEOGteaRC1WLvaRkDcHMscHBfTTzY5LB8L6EzuYd2ZQ%40mail.gmail.com.

Reply via email to