mirror of
https://github.com/ansible/awx.git
synced 2026-04-01 00:05:07 -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
|
||||
|
||||
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 []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user