From 058475c1313c525649c2fad9ba416157023de9f9 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 17 Oct 2017 16:00:16 -0400 Subject: [PATCH] Set ANSIBLE_BECOME_ASK_PASS to avoid deprecation warning. --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index ef20bb3e69..c7894996d9 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -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