Hi!
I’m trying to use Ansible to connect to some network devices at my work. Unfortunately for me I need to pass by a Linux jump box in order to connect to the device. Should be simple no?
Unfortunately after a fun day of troubleshooting, I finally noticed that the jump box is NOT allowing SSH tunnels… The SSH server on the jump box has “AllowTcpForwarding” set to no… Due to Enterprise politics, getting that changed is a No-go…
From what I can gather the only way to use jump hosts with the network modules is via the ProxyCommand ssh arg. All the examples I can find are using tunneling though. I tried to “delegate_to” the network task to the jump box, but get the error “Connection type ssh is not valid for this module”. (not that I think it matters as I tried with the other network os equivalents, but I’m trying to use the sros_command module)
Is there another way?
Thanks!