Ansible on CENTOS VM SSH failing

16 views
Skip to first unread message

Alfredo Bosca Bataller

unread,
Feb 7, 2018, 6:27:39 AM2/7/18
to Ansible Project

Hi gents,


After installing ansible and check that my version is 2.4.2.0 I have created a inventory file like this:


Afterward, I have tried to access one of them throught ssh but I can't.

The fail message is the next:






The username of the network devices is "ccie".

Do you know i fI need to change something in inventory file or ansible.cfg file?
Thanks in advance!



ZillaYT

unread,
Feb 8, 2018, 12:05:38 PM2/8/18
to Ansible Project
Have you set up your ssh keys between the two hosts, i.e., the user running Ansible and the target host? What happens if you just try to ssh to the target host?
Reply all
Reply to author
Forward
0 new messages