mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 19:37:38 -02:30
docs and review change for IS multivault
Mention inventory sources /credentials/ endpoint in docs Also change means of identifying projects for the purose of injecting custom credentials
This commit is contained in:
@@ -927,8 +927,8 @@ class BaseTask(LogErrorsTask):
|
||||
elif isinstance(instance, InventoryUpdate):
|
||||
# TODO: allow multiple custom creds for inv updates
|
||||
credentials = [instance.get_cloud_credential()]
|
||||
elif hasattr(instance, 'credential'):
|
||||
# once other UnifiedJobs (project updates)
|
||||
elif isinstance(instance, Project):
|
||||
# once (or if) project updates
|
||||
# move from a .credential -> .credentials model, we can
|
||||
# lose this block
|
||||
credentials = [instance.credential]
|
||||
|
||||
Reference in New Issue
Block a user