Merge pull request #456 from wenottingham/i-am-becoming

Set ANSIBLE_BECOME_ASK_PASS to avoid deprecation warning.
This commit is contained in:
Bill Nottingham
2017-10-17 18:11:33 -04:00
committed by GitHub

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