mirror of
https://github.com/ansible/awx.git
synced 2026-02-13 17:24:45 -03:30
Set ANSIBLE_BECOME_ASK_PASS to avoid deprecation warning.
This commit is contained in:
@@ -1334,7 +1334,7 @@ class RunProjectUpdate(BaseTask):
|
||||
env = self.add_ansible_venv(env)
|
||||
env['ANSIBLE_RETRY_FILES_ENABLED'] = str(False)
|
||||
env['ANSIBLE_ASK_PASS'] = str(False)
|
||||
env['ANSIBLE_ASK_SUDO_PASS'] = str(False)
|
||||
env['ANSIBLE_BECOME_ASK_PASS'] = str(False)
|
||||
env['DISPLAY'] = '' # Prevent stupid password popup when running tests.
|
||||
return env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user