mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 05:25:29 +03:00
Resolve name to ID correctly in workflow jt module
This commit is contained in:
parent
592043fa70
commit
bd39fab17a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user