VMware: Add documentation for customValue (#41399)
* VMware: Add documentation for customValue In order to populate custom values (custom attributes of virtual machine) inside hostvars, customValue needs to be uncommented under the section properties in vmware_inventory.ini * Remove unwanted single quotes from custom_field_group_prefix Fixes: #41395 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
63f2ad8776
commit
d65451fa7b
1 changed files with 4 additions and 1 deletions
|
@ -91,7 +91,7 @@ password=vmware
|
||||||
|
|
||||||
# You can customize prefix used by custom field hostgroups generation here.
|
# You can customize prefix used by custom field hostgroups generation here.
|
||||||
# vmware_tag_ prefix is the default and consistent with ec2_tag_
|
# vmware_tag_ prefix is the default and consistent with ec2_tag_
|
||||||
#custom_field_group_prefix = 'vmware_tag_'
|
#custom_field_group_prefix = vmware_tag_
|
||||||
|
|
||||||
# The script attempts to recurse into virtualmachine objects and serialize
|
# The script attempts to recurse into virtualmachine objects and serialize
|
||||||
# all available data. The serialization is comprehensive but slow. If the
|
# all available data. The serialization is comprehensive but slow. If the
|
||||||
|
@ -115,3 +115,6 @@ password=vmware
|
||||||
#prop10=guest.guestId
|
#prop10=guest.guestId
|
||||||
#prop11=guest.guestState
|
#prop11=guest.guestState
|
||||||
#prop12=runtime.maxMemoryUsage
|
#prop12=runtime.maxMemoryUsage
|
||||||
|
# In order to populate `customValue` (virtual machine's custom attributes) inside hostvars,
|
||||||
|
# uncomment following property. Please see - https://github.com/ansible/ansible/issues/41395
|
||||||
|
#prop13=customValue
|
||||||
|
|
Loading…
Reference in a new issue