mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Update tower_workflow_job_template_node.py
correction to lookup inventory
This commit is contained in:
parent
65a8a656f7
commit
b6883ab64e
@ -224,7 +224,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)
|
||||
|
||||
# Create the data that gets sent for create and update
|
||||
for field_name in (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user