Hi everyone,
First-time poster here. I’d like to have Ansible on one subnet pivot through a jumpbox to a different subnet (technically a separate datacenter) for provisioning a host.
I found posts such as this:
and this:
http://alexbilbie.com/2014/07/using-ansible-with-a-bastion-host/
The machine being provisioned has an internal IP and provisioning fails with ‘FAILED: [Errno 101] Network is unreachable’. This makes sense since these are separate networks and we don’t use a VPN. What confuses me is why Ansible isn’t pivoting.
This is maybe a complicated setup (and an edge-case at that), so any advice as to alternative methods will also be taken into consideration. Maybe there’s even an “accepted” way to do this that I don’t know about. We are also open to simply having an Ansible provisioning box at our secondary location.
Best regards,
Andrew