community.general/lib/ansible
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
..
cli Rework additional ssh argument handling 2015-10-02 21:26:25 +05:30
compat Making the switch to v2 2015-05-03 21:47:26 -05:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Making the switch to v2 2015-05-03 21:47:26 -05:00
executor added no_log to results 2015-10-02 09:11:41 -04:00
galaxy Fix metadata description for galaxy_tags. 2015-09-30 13:36:28 -04:00
inventory Pull host/group vars when adding hosts/groups 2015-10-02 02:47:09 -04:00
module_utils created debug method, renamed debug attribute to _debug 2015-10-01 10:17:41 -04:00
modules Update module refs 2015-10-02 08:34:05 -07:00
new_inventory Making the switch to v2 2015-05-03 21:47:26 -05:00
parsing fixed error reporting on splitter 2015-10-01 19:03:04 -04:00
playbook Aggregate ssh arguments in PlayContext instead of the connection plugin 2015-10-02 21:26:25 +05:30
plugins Aggregate ssh arguments in PlayContext instead of the connection plugin 2015-10-02 21:26:25 +05:30
template Python 3: the StringIO module is gone 2015-09-28 09:28:53 +03:00
utils Fix syntax error for octal in encrypt methods 2015-10-02 02:27:57 -04:00
vars Use delegated_to field for play context remote_addr, if none other exists 2015-09-30 09:27:29 -04:00
__init__.py Re-adding submodules after moving things around 2015-05-03 22:30:51 -05:00
constants.py renamed managed_syslog to no_target_syslog 2015-09-26 08:22:32 -04:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00