mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-08 02:01:31 -07: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:
parent
3b08e75eb2
commit
8ce09a0057
3 changed files with 35 additions and 18 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue