community / community.vmware / 4.2.0 / module / vmware_vasa_info Gather information about vSphere VASA providers. | "added in version" 3.8.0 of community.vmware" Authors: Eugenio Grosso (@genegr) <eugenio.grosso@purestorage.com>community.vmware.vmware_vasa_info (4.2.0) — module
Install with ansible-galaxy collection install community.vmware:==4.2.0
collections: - name: community.vmware version: 4.2.0
Returns basic information on the vSphere VASA providers registered in the vcenter.
- name: Get VASA providers info community.vmware.vmware_vasa_info: hostname: '{{ vcenter_hostname }}' username: '{{ vcenter_username }}' password: '{{ vcenter_password }}' delegate_to: localhost register: providers
port: default: 443 description: - The port number of the vSphere vCenter or ESXi server. - If the value is not specified in the task, the value of environment variable E(VMWARE_PORT) will be used instead. type: int hostname: description: - The hostname or IP address of the vSphere vCenter or ESXi server. - If the value is not specified in the task, the value of environment variable E(VMWARE_HOST) will be used instead. type: str password: aliases: - pass - pwd description: - The password of the vSphere vCenter or ESXi server. - If the value is not specified in the task, the value of environment variable E(VMWARE_PASSWORD) will be used instead. type: str username: aliases: - admin - user description: - The username of the vSphere vCenter or ESXi server. - If the value is not specified in the task, the value of environment variable E(VMWARE_USER) will be used instead. type: str proxy_host: description: - Address of a proxy that will receive all HTTPS requests and relay them. - The format is a hostname or a IP. - If the value is not specified in the task, the value of environment variable E(VMWARE_PROXY_HOST) will be used instead. required: false type: str proxy_port: description: - Port of the HTTP proxy that will receive all HTTPS requests and relay them. - If the value is not specified in the task, the value of environment variable E(VMWARE_PROXY_PORT) will be used instead. required: false type: int validate_certs: default: true description: - Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted. - If the value is not specified in the task, the value of environment variable E(VMWARE_VALIDATE_CERTS) will be used instead. type: bool
vasa_providers: description: list of dictionary of VASA info returned: success sample: - certificate_status: valid description: IOFILTER VASA Provider on host host01.domain.local name: IOFILTER Provider host01.domain.local related_storage_array: - active: 'True' array_id: IOFILTERS:616d4715-7de2-7be2-997a-10f920c5fdbe manageable: 'True' priority: '1' status: online uid: 02e10bc5-dd77-4ce4-9100-5aee44e7abaa url: https://host01.domain.local:9080/version.xml version: '1.0' type: list