mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Ensure scm credentials are passed for archive scm type
This commit is contained in:
parent
30ae0f53ec
commit
6dc41f54fc
@ -2105,7 +2105,7 @@ class RunProjectUpdate(BaseTask):
|
||||
scm_username = False
|
||||
elif scm_url_parts.scheme.endswith('ssh'):
|
||||
scm_password = False
|
||||
elif scm_type == 'insights':
|
||||
elif scm_type in ('insights', 'archive'):
|
||||
extra_vars['scm_username'] = scm_username
|
||||
extra_vars['scm_password'] = scm_password
|
||||
scm_url = update_scm_url(scm_type, scm_url, scm_username,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user