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