For most configuration items, take a look in the docs about "host_vars/" and "group_vars/" directories.
They are quite awesome for applying variables at host and group var level. You can't currently set this on a per host basis, but I'm open to making it possible. In the meantime, yes, local .ssh_config files for SSH are used, so that's an option of where to set it per host. On Thu, Aug 14, 2014 at 5:53 AM, Steven Ringo <[email protected]> wrote: > Hi, > > We have a requirement to pass for example, *-o "RemoteForward 8080 > host.behind.the.firewall.com:80 <http://host.behind.the.firewall.com:80>"* > to some hosts so that the host can reverse tunnel to some private resources > on our local network. For example we use a private git repo that is not > publicly accessible, yet we need to use it deploy to public-facing hosts. > > Currently it seems to be an all-or-nothing configuration, as its only in > *ansible.cfg**,* as part of *ssh_args.* > > I guess its OK to have it there in all SSH connections to all hosts, but > if there's any way to do this on a per-host basis, perhaps through another > setting or by using local *.ssh_config* file for example, that would be > great. > > Thanks so much > > Steve > > -- > 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/d73c1d15-9074-4db2-abea-0ddd7fbe6b52%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/d73c1d15-9074-4db2-abea-0ddd7fbe6b52%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%2BnsWgz6bcrPR7R%3D8dK2b%2BF1DX7J4659Mwp_d%2BwBAf%2BWQa%2BSAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
