Currently this parameter can only be set globally, I think we're open to the possibility, but it would not be through the environment keyword, but likely via "ansible_ssh_args" as an inventory var.
Pull request would definitely be welcome to make this possible, or otherwise open a feature idea ticket on github? Thanks! On Tue, Oct 28, 2014 at 4:39 PM, Tennis Smith <[email protected]> wrote: > > Can a file in group_vars (say <project>/group_vars/foo/all) set the > ANSIBLE_SSH_ARGS variable and point to a new config file? > > I'm trying to figure out a way to have different groups have different ssh > config files. > > Example: > > environment: > ANSIBLE_SSH_ARGS:" -F <foo ssh config>" > > > TIA > -T > > -- > 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/58f8b828-13ef-4356-b43c-66cfa28f320d%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/58f8b828-13ef-4356-b43c-66cfa28f320d%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%2BnsWgzeZcxGm8aoZkEFQxfmvTO5SMp4LMVwB8rkt8R2aRo7bA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
