According to the docs setting ProxyCommand in ansible_ssh_command_args will enable access to private servers via a jump server.
I am attempting to do this but keeping the error Control socket “/Users/pnotes/.ansible/cp/cfed83541a” does not exist.
My current setup is thus:
ansible/test/inventory.ini
`
[all]
bastion-0
private-server0
[bastions]
bastion-0 ansible_host=104.xxx.xx.xxx
[private_servers]
private-server0 ansible_host=68.xxx.xxx.xxx
`
ansible/test/host_vars/private-server0.yaml
`