I've had musings on that too. Currently, I think you'd have to manually configure $HOME/.ssh/config, with ProxyCommand.

However, I just had a thought. What if there was an ansible_ssh_proxy=$other_inventory_host feature? When set, ansible would auto-add the -o ProxyCommand="$something".

This is just some random brainstorm ramblings.

On 02/05/2014 12:59 PM, Jeff Lord wrote:
Hello,

I am building out an env in AWS using ansible and would like to
configure all of my hosts by running through a single bastion host which
has port 22 open.
Laptop -> AWS Bastion -> AWS private network instances

Is there a good example of how to configure the proxy around?

Thank You in advance,

--
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 post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to