https://www.jeffgeerling.com/blog/2022/using-ansible-playbook-ssh-bastion-jump-host


On Sun, 2 Apr 2023 at 16:35, Monica <monicaacision1...@gmail.com> wrote:

> Hi All,
>
> I have requirement to automate some tasks via ansible playbook, the
> problem is I cannot go to the serves directly I need to go to remote nodes
> via bastion node. Could anyone pls help how can I write the same inside
> inventory. Below is the example how I am connecting to the remote host via
> bastion host.
>
> ssh user@<rremote-host IP>@<bastion-host-IP> -p 8022
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/19f0148f-01d4-4a4f-82e3-c1270fdbf8f1n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/19f0148f-01d4-4a4f-82e3-c1270fdbf8f1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAKtKohRQex33d8xUaBKu1%3DhELWE%3D19vZ%2BzehfxmDfeH_GyAMtA%40mail.gmail.com.

Reply via email to