community.general/lib/ansible/plugins/connection
Abhijit Menon-Sen 1981bf2b95 Aggregate ssh arguments in PlayContext instead of the connection plugin
Using set_host_overrides() in the connection plugin to access the ssh
argument variables from the inventory didn't see group_vars/host_vars
settings, as noted earlier. Instead, we can set the correct values in
the PlayContext, which has access to all command-line options, task
settings, and variables.

The only downside of doing so is that the source of the settings is no
longer available in ssh.py, and therefore can't be logged. But the code
is simpler, and it actually works.

This change was suggested by @jimi-c in response to the FIXME in the
earlier commit.
2015-10-02 21:26:25 +05:30
..
__init__.py One more try -- the error message should reference the become method 2015-09-28 11:28:33 -07:00
accelerate.py Fixing accelerated connection plugin 2015-10-02 00:50:02 -04:00
chroot.py Minor refactorings 2015-09-30 19:39:06 -07:00
docker.py Create error messages instead of tracebacks. 2015-09-30 19:39:06 -07:00
funcd.py Remove tmp as a parameter to the connection plugins 2015-09-24 13:33:57 -07:00
jail.py Port to v2 API 2015-09-30 19:39:07 -07:00
libvirt_lxc.py Remove tmp as a parameter to the connection plugins 2015-09-24 13:33:57 -07:00
local.py Remove tmp as a parameter to the connection plugins 2015-09-24 13:33:57 -07:00
paramiko_ssh.py fixed error reporting for unkown become user 2015-10-01 18:58:16 -04:00
ssh.py Aggregate ssh arguments in PlayContext instead of the connection plugin 2015-10-02 21:26:25 +05:30
winrm.py Remove tmp as a parameter to the connection plugins 2015-09-24 13:33:57 -07:00
zone.py Port to v2 API 2015-09-30 19:39:07 -07:00