From a3a3e72b32bdc139c096eb7293a8f85594b800e2 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Thu, 5 Sep 2013 01:27:57 -0400 Subject: [PATCH] Fixes AC-390. Project SCM updates should never prompt for sudo password. --- awx/main/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 350fe03cb6..e6d56243e4 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -358,6 +358,7 @@ class RunProjectUpdate(BaseTask): Build environment dictionary for ansible-playbook. ''' env = super(RunProjectUpdate, self).build_env(project_update, **kwargs) + env['ANSIBLE_ASK_SUDO_PASS'] = str(False) return env def update_url_auth(self, url, username=None, password=None):