1
0
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:
beeankha 2020-04-06 15:08:01 -04:00
parent 592043fa70
commit bd39fab17a

View File

@ -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: