mirror of
https://github.com/ansible/awx.git
synced 2026-04-01 16:25:08 -02:30
Fix workload identity project updates (#16373)
* fix: enable workload identity credentials for project updates * Add explanatory comment for credential context handling * Revert build_passwords
This commit is contained in:
@@ -1682,7 +1682,7 @@ class RunProjectUpdate(BaseTask):
|
|||||||
return params
|
return params
|
||||||
|
|
||||||
def build_credentials_list(self, project_update):
|
def build_credentials_list(self, project_update):
|
||||||
if project_update.scm_type == 'insights' and project_update.credential:
|
if project_update.credential:
|
||||||
return [project_update.credential]
|
return [project_update.credential]
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user