mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
VMware: fix inventory plugin (#56431)
* Fixed regression introduced in #56071 * Added test to check if hostvars are populated * Fix toml installation logic Fixes: #56413 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
Gonéri Le Bouder
parent
3b08e75eb2
commit
8ce09a0057
@@ -448,7 +448,7 @@ class InventoryModule(BaseInventoryPlugin, Cacheable):
|
||||
'customValue',
|
||||
]
|
||||
field_mgr = []
|
||||
if self.content.customFieldsManager:
|
||||
if self.pyv.content.customFieldsManager:
|
||||
field_mgr = self.pyv.content.customFieldsManager.field
|
||||
|
||||
for vm_prop in vm_properties:
|
||||
|
||||
Reference in New Issue
Block a user