Probably not possible, but ...

Can a file in group_vars (say /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 "

`

TIA
-T

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!