mirror of https://github.com/ansible/ansible.git
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.pull/12783/head
parent
4b4168bc92
commit
aa0b7536c9
Loading…
Reference in New Issue