ansible/lib/ansible
Lars Kellogg-Stedman aa0b7536c9 correct value of remote_user for local connections
When using 'local' connections, privilege escalation would fail if
ansible_ssh_user was in the current context to the same value as
become_user.

This commit ensures that for 'local' connections we reset remote_user to
the local username.

This fixes #12782.
2015-10-16 11:17:58 -04:00
..
cli fix classmethod syntax error. 2015-10-09 12:46:31 +08:00
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 Move to_str alias into ansible.utils.unicode 2015-10-15 10:27:38 +03:00
executor Fix Unexpected Exception: global name 'os' is not defined 2015-10-15 10:41:00 +03:00
galaxy Cleaning up some ansible-galaxy stuff 2015-10-05 22:59:08 -04:00
inventory Check is_directory() before not is_file() in inventory basedir 2015-10-14 11:03:10 -04:00
module_utils made syslog import optional as intel's edison custom compiles python w/o it 2015-10-14 09:12:02 -04:00
modules Update extras modules ref to fix docs 2015-10-14 08:44:37 -07:00
new_inventory fix some warning of undefined name. 2015-10-09 12:43:42 +08:00
parsing Simplify join expression 2015-10-16 17:39:27 +03:00
playbook Python 3: there's no iteritems() 2015-10-13 09:47:16 +03:00
plugins correct value of remote_user for local connections 2015-10-16 11:17:58 -04:00
template Properly use test_loader from SharedPluginLoaderObj 2015-10-14 17:53:28 -04:00
utils Make random cowsay truly random 2015-10-15 10:52:53 -04:00
vars group_names should not include implied 'all', fixes #12763 2015-10-15 11:46:43 -04:00
__init__.py Re-adding submodules after moving things around 2015-05-03 22:30:51 -05:00
constants.py Make random cowsay truly random 2015-10-15 10:52:53 -04:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00