Basically you can set up ProxyCommand via ~/.ssh/config if you want to do this (see Google, etc).
Otherwise, you could also run Ansible from that Bastion Host by logging into that machine first and running Ansible there. On Tue, Oct 28, 2014 at 5:23 PM, Bob Brown <[email protected]> wrote: > So I have Ansible setup in a local machine. > My local machine has ssh access to a Bastion Host, essentially an ec2 > instance that I can ssh to directly with my keys > The instances I want to update/change/create all need to be accessed from > the Bastion Host since it has the Nat to connect into the VPC > > For both the command line and for a playbook, how do I set things up so > that I can run a command or a playbook across many hosts but start the > process from my local ansible box? > > Bob > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/6dbec1ad-05a9-478a-bb34-c840a74e0873%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/6dbec1ad-05a9-478a-bb34-c840a74e0873%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxPrh-zLAQ%3DkGe6LAwY-GuVzDo6ed-i-D3vaqwubs3hug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
