mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -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')
|
inventory = module.params.get('inventory')
|
||||||
if 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')
|
webhook_credential = module.params.get('webhook_credential')
|
||||||
if webhook_credential:
|
if webhook_credential:
|
||||||
|
|||||||
Reference in New Issue
Block a user