community.general/lib/ansible
Toshio Kuratomi e2f5762232 Use _connection instead of _play_context for information about the connection
If we're not delegating then we change _connection into a local
connection midway through the file but we don't change
_play_context.connection (no need to alter that).  When we later check
it in process_remote() we need to know the actual connection, not the
connection that we thought we were going to use at the start of run().
So we have to use _connection.transport in process_remote().  The rest
of the places could use either one (because we have not yet changed to
a local connection) but we go ahead and switch those to
_connection.transport as well to avoid confusion in the future.

Fixes https://github.com/ansible/ansible-modules-core/issues/3136
2016-03-25 09:25:19 -07:00
..
cli Should be errors=strict since we don't want to end up matching hosts like '???' 2016-03-24 09:25:37 -07:00
compat Bundle a new version of python-six for compatibility along with some code to make it easy for distributions to override the bunndled copy if they have a new enough version. 2015-10-16 08:21:28 -07:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Add options to make includes 'static' 2016-03-24 10:12:51 -04:00
executor Fix --start-at-task which was broken by the setup task revamp 2016-03-25 11:32:19 -04:00
galaxy Remove trailing whitespace from the galaxy init Jinja2 template. Default a description. 2016-03-15 16:27:33 -05:00
inventory Don't process the same host multiple times 2016-03-24 16:43:43 -07:00
module_utils avoid bad path entries 2016-03-23 09:30:48 -07:00
modules Update submodule refs 2016-03-25 07:42:04 -07:00
new_inventory fix some warning of undefined name. 2015-10-09 12:43:42 +08:00
parsing Catch ValueError as well because of El Capitan provoking a bug in python2's subprocess 2016-03-18 05:52:53 -07:00
playbook fixed some breaks after merging ansible/devel 2016-03-24 22:09:41 +01:00
plugins Use _connection instead of _play_context for information about the connection 2016-03-25 09:25:19 -07:00
template Merge pull request #14504 from bcoca/template_comments 2016-03-06 10:45:18 -05:00
utils Merge pull request #14679 from dagwieers/merge_hash_v2 2016-03-19 12:58:42 -04:00
vars Make default var lookup for tasks follow the dep chain 2016-03-24 09:51:36 -04:00
__init__.py Bump version in devel now that stable-2.0 has been branched 2015-12-02 17:57:53 +05:30
constants.py Add options to make includes 'static' 2016-03-24 10:12:51 -04:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00