[root@ansible01 test]# ping leaf-1
PING leaf-1.lab.com (192.168.7.1) 56(84) bytes of data.
64 bytes from testing_1F.lab.com (192.168.7.1): icmp_seq=1 ttl=253 time=
0.701 ms
64 bytes from testing_1F.lab.com (192.168.7.1): icmp_seq=2 ttl=253 time=
0.623 ms
64 bytes from testing_1F.lab.com (192.168.7.1): icmp_seq=3 ttl=253 time=
0.736 ms
[root@ansible01 test]# ansible leaf-1 -m ping
/usr/lib/python2.7/site-packages/requests/__init__.py:80:
RequestsDependencyWarning: urllib3 (1.22) or chardet (2.2.1) doesn't match
a supported version!
RequestsDependencyWarning)
leaf-1 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh:
On Saturday, 21 December 2019 20:27:59 UTC+5:30, Nirmal Gauda wrote:
>
> I am a Newbie to Ansible , writing my first playbook.
>
> I can not SSH / PING to network Devices.
>
> leaf-1 | UNREACHABLE! => {
> "changed": false,
> "msg": "Authentication failure.",
> "unreachable": true
> }
> leaf-2 | UNREACHABLE! => {
> "changed": false,
> "msg": "Authentication failure.",
> "unreachable": true
> }
>
> i can PING / SSH to network devices from Ansible server but when i run the
> playbook , it fails.
>
> No idea if i have to add something in playbook or ansible.cfg . Any
> Suggestion please ?
>
>
>
--
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/270fab4a-5d55-4536-86f3-bb97df92769f%40googlegroups.com.