https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-configure-a-jump-host-to-access-servers-that-i-have-no-direct-access-to
>From your story it seems that what you call jumphost is the ansible controller and each server is a jumphost. On Sat, 19 Jun 2021 at 19:30, [email protected] <[email protected]> wrote: > Hello Guys, > > I have Ansible installed on a jumphost. From the jumphost I can reach > several servers (with different IPs), each running a virtual machine (that > VM has the same IP on each server). > I need to read the information of a certain file that is located on the > virtual machines (not on the servers). > That means Ansible have to establish a SSH connection to the server and > from there it have to establish another SSH connection to the VM. > (Jumphost [Ansible Controller] --> Server --> VM) > > I assume that the realization of this use case is possible with Ansible (?) > However, I don't really know how to google for this problem. > Is there some kind of best practice for this use case? > > Maybe you can provide me a link, which explains how to solve that problem > or a similar problem? > > I am grateful for any help :) > > Kind regards, > Peter > > -- > 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/3cdbcbc5-7b3b-4ab2-9075-8eec29b75576n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/3cdbcbc5-7b3b-4ab2-9075-8eec29b75576n%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/CAL8fbwN%3DfiFrF%2Bi4vLOEXXx1Bt6Wf6jDUKeuzn2f1Fware3X1g%40mail.gmail.com.
