I mean,
I'm able to connect to my guest through my jump server by setting my
.ssh/config file as:
Host vdicnode01
HostName vdicnode01
### Host to jump to via jumphost1.example.org
Host vdicone01
HostName vdicone01
ProxyJump vdicnode01
[root@vdicmanager01 ansible]# ssh vdicone01
root@vdicnode01's password:
root@vdicone01's password:
Last login: Thu Nov 23 23:41:45 2017 from vdicnode01
[root@vdicone01 ~]#
But from ansible, I'm not able to make it work:
[root@vdicmanager01 ansible]# ansible vdicone01 -m ping -vv
ansible 2.4.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5
20150623 (Red Hat 4.8.5-16)]
Using /etc/ansible/ansible.cfg as config file
META: ran handlers
*vdicone01 | UNREACHABLE! => {*
* "changed": false,*
* "msg": "Authentication failure.",*
* "unreachable": true*
}
[root@vdicmanager01 ansible]#
Thanks a lot and sorry for my previous missexplanation.
Óscar
--
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/76f25638-a702-4043-b531-8e2ecf962644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.