mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Resolve name to ID correctly in workflow jt module
This commit is contained in:
@@ -192,7 +192,7 @@ def main():
|
||||
|
||||
inventory = module.params.get('inventory')
|
||||
if inventory:
|
||||
new_fields['inventory'] = module.resolve_name_to_id('inventory', inventory)
|
||||
new_fields['inventory'] = module.resolve_name_to_id('inventories', inventory)
|
||||
|
||||
webhook_credential = module.params.get('webhook_credential')
|
||||
if webhook_credential:
|
||||
|
||||
Reference in New Issue
Block a user