mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Fixes AC-390. Project SCM updates should never prompt for sudo password.
This commit is contained in:
parent
72d87fb908
commit
a3a3e72b32
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user