diff --git a/lib/ansible/playbook/become.py b/lib/ansible/playbook/become.py index 0323a9b613b..f01b48512fa 100644 --- a/lib/ansible/playbook/become.py +++ b/lib/ansible/playbook/become.py @@ -60,10 +60,6 @@ class Become: self._detect_privilege_escalation_conflict(ds) - # Setting user implies setting become/sudo/su to true - if 'become_user' in ds and not ds.get('become', False): - ds['become'] = True - # Privilege escalation, backwards compatibility for sudo/su if 'sudo' in ds or 'sudo_user' in ds: ds['become_method'] = 'sudo'