mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Tweaking logical assignment of vm_metadata in abiquo inventory script
This commit is contained in:
parent
eb8de9646c
commit
1880279bfe
1 changed files with 1 additions and 2 deletions
|
@ -171,7 +171,6 @@ def generate_inv_from_api(enterprise_entity,config):
|
|||
vm_metadata = metadata['metadata']
|
||||
else:
|
||||
vm_metadata = metadata['metadata']['metadata']
|
||||
if not vm_metadata is None:
|
||||
inventory['_meta']['hostvars'][vm_nic] = vm_metadata
|
||||
except Exception, e:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue