> INVENTORY    (/usr/local/lib/python3.6/dist-packages/ansible/plugins/inventory/vmware_vm_inventory.py)

        Get virtual machines as inventory hosts from VMware environment. Uses any file which ends with
        vmware.yml or vmware.yaml as a YAML configuration file. The inventory_hostname is always the
        'Name' and UUID of the virtual machine. UUID is added as VMware allows virtual machines with
        the same name.

  * This module is maintained by The Ansible Community
OPTIONS (= is mandatory):

- cache
        Toggle to enable/disable the caching of the inventory's source data, requires a cache plugin
        setup to work.
        [Default: False]
        set_via:
          env:
          - name: ANSIBLE_INVENTORY_CACHE
          ini:
          - key: cache
            section: inventory
        
        type: bool

- cache_connection
        Cache connection data or path, read cache plugin documentation for specifics.
        [Default: (null)]
        set_via:
          env:
          - name: ANSIBLE_CACHE_PLUGIN_CONNECTION
          - name: ANSIBLE_INVENTORY_CACHE_CONNECTION
          ini:
          - key: fact_caching_connection
            section: defaults
          - key: cache_connection
            section: inventory
        
        type: str

- cache_plugin
        Cache plugin to use for the inventory's source data.
        [Default: memory]
        set_via:
          env:
          - name: ANSIBLE_CACHE_PLUGIN
          - name: ANSIBLE_INVENTORY_CACHE_PLUGIN
          ini:
          - key: fact_caching
            section: defaults
          - key: cache_plugin
            section: inventory
        
        type: str

- cache_prefix
        Prefix to use for cache plugin files/tables
        [Default: ansible_inventory_]
        set_via:
          env:
          - name: ANSIBLE_CACHE_PLUGIN_PREFIX
          - name: ANSIBLE_INVENTORY_CACHE_PLUGIN_PREFIX
          ini:
          - key: fact_caching_prefix
            section: default
          - key: cache_prefix
            section: inventory
        

- cache_timeout
        Cache duration in seconds
        [Default: 3600]
        set_via:
          env:
          - name: ANSIBLE_CACHE_PLUGIN_TIMEOUT
          - name: ANSIBLE_INVENTORY_CACHE_TIMEOUT
          ini:
          - key: fact_caching_timeout
            section: defaults
          - key: cache_timeout
            section: inventory
        
        type: int

= hostname
        Name of vCenter or ESXi server.

        set_via:
          env:
          - name: VMWARE_SERVER
        

= password
        Password of vSphere admin user.

        set_via:
          env:
          - name: VMWARE_PASSWORD
        

- port
        Port number used to connect to vCenter or ESXi Server.
        [Default: 443]
        set_via:
          env:
          - name: VMWARE_PORT
        

- properties
        Specify the list of VMware schema properties associated with the VM.
        These properties will be populated in hostvars of the given VM.
        Each value in the list specifies the path to a specific property in VM object.
        [Default: ['name', 'config.cpuHotAddEnabled', 'config.cpuHotRemoveEnabled',
        'config.instanceUuid', 'config.hardware.numCPU', 'config.template', 'config.name',
        'guest.hostName', 'guest.ipAddress', 'guest.guestId', 'guest.guestState',
        'runtime.maxMemoryUsage', 'customValue']]
        type: list
        version_added: 2.9

= username
        Name of vSphere admin user.

        set_via:
          env:
          - name: VMWARE_USERNAME
        

- validate_certs
        Allows connection when SSL certificates are not valid. Set to `false' when certificates are
        not trusted.
        [Default: True]
        type: boolean

- with_tags
        Include tags and associated virtual machines.
        Requires 'vSphere Automation SDK' library to be installed on the given controller machine.
        Please refer following URLs for installation steps
        https://code.vmware.com/web/sdk/65/vsphere-automation-python
        [Default: False]
        type: boolean


REQUIREMENTS:  Python >= 2.7, PyVmomi, requests >= 2.3, vSphere Automation SDK - For tag feature,
        vCloud Suite SDK - For tag feature

AUTHOR: Abhijeet Kasurde (@Akasurde)
        METADATA:
          status:
          - preview
          supported_by: community
        
NAME: vmware_vm_inventory
PLUGIN_TYPE: inventory

EXAMPLES:

# Sample configuration file for VMware Guest dynamic inventory
    plugin: vmware_vm_inventory
    strict: False
    hostname: 10.65.223.31
    username: administrator@vsphere.local
    password: Esxi@123$%
    validate_certs: False
    with_tags: True

# Gather minimum set of properties for VMware guest
    plugin: vmware_vm_inventory
    strict: False
    hostname: 10.65.223.31
    username: administrator@vsphere.local
    password: Esxi@123$%
    validate_certs: False
    with_tags: False
    properties:
    - 'name'
    - 'guest.ipAddress'


