Set ANSIBLE_BECOME_ASK_PASS to avoid deprecation warning.

This commit is contained in:
Bill Nottingham
2017-10-17 16:00:16 -04:00
parent 3685cb5517
commit 058475c131

View File

@@ -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