Skip to content

Commit

Permalink
VMware: Add documentation for customValue (ansible#41399)
Browse files Browse the repository at this point in the history
* 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: ansible#41395

Signed-off-by: Abhijeet Kasurde <[email protected]>
  • Loading branch information
Akasurde authored Jun 15, 2018
1 parent 63f2ad8 commit d65451f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/inventory/vmware_inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ password=vmware

# You can customize prefix used by custom field hostgroups generation here.
# 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
# all available data. The serialization is comprehensive but slow. If the
Expand All @@ -115,3 +115,6 @@ password=vmware
#prop10=guest.guestId
#prop11=guest.guestState
#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

0 comments on commit d65451f

Please sign in to comment.