mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 02:17:37 -02:30
Fixes AC-390. Project SCM updates should never prompt for sudo password.
This commit is contained in:
@@ -358,6 +358,7 @@ class RunProjectUpdate(BaseTask):
|
|||||||
Build environment dictionary for ansible-playbook.
|
Build environment dictionary for ansible-playbook.
|
||||||
'''
|
'''
|
||||||
env = super(RunProjectUpdate, self).build_env(project_update, **kwargs)
|
env = super(RunProjectUpdate, self).build_env(project_update, **kwargs)
|
||||||
|
env['ANSIBLE_ASK_SUDO_PASS'] = str(False)
|
||||||
return env
|
return env
|
||||||
|
|
||||||
def update_url_auth(self, url, username=None, password=None):
|
def update_url_auth(self, url, username=None, password=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user