mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
[collection] Add 'instance' module
Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
committed by
Jeff Bradberry
parent
b879cbc2ec
commit
7d645c8ff6
@@ -903,6 +903,8 @@ class ControllerAPIModule(ControllerModule):
|
||||
item_name = existing_item['identifier']
|
||||
elif item_type == 'credential_input_source':
|
||||
item_name = existing_item['id']
|
||||
elif item_type == 'instance':
|
||||
item_name = existing_item['hostname']
|
||||
else:
|
||||
item_name = existing_item['name']
|
||||
item_id = existing_item['id']
|
||||
|
||||
Reference in New Issue
Block a user