1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-24 10:18:47 +00:00
community.general/lib
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
..
ansible correct value of remote_user for local connections 2015-10-16 11:17:58 -04:00