mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 09:25:10 +03:00
update to workflow node delete
This commit is contained in:
parent
902a31d073
commit
1f2481211b
@ -464,6 +464,8 @@ class TowerModule(AnsibleModule):
|
|||||||
item_name = existing_item['name']
|
item_name = existing_item['name']
|
||||||
elif 'username' in existing_item:
|
elif 'username' in existing_item:
|
||||||
item_name = existing_item['username']
|
item_name = existing_item['username']
|
||||||
|
elif 'identifier' in existing_item:
|
||||||
|
item_name = existing_item['identifier']
|
||||||
else:
|
else:
|
||||||
self.fail_json(msg="Unable to process delete of {0} due to missing name".format(item_type))
|
self.fail_json(msg="Unable to process delete of {0} due to missing name".format(item_type))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user