community.vmware.vmware_vsan_health_info – Gather information about a VMware vSAN cluster’s health¶
Note
This plugin is part of the community.vmware collection (version 1.9.0).
To install it use: ansible-galaxy collection install community.vmware
.
To use it in a playbook, specify: community.vmware.vmware_vsan_health_info
.
Requirements¶
The below requirements are needed on the host that executes this module.
PyVmomi
VMware vSAN Python’s SDK
Parameters¶
Examples¶
- name: Gather health info from a vSAN's cluster
community.vmware.vmware_vsan_health_info:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
cluster_name: 'vSAN01'
fetch_from_cache: False
- name: Gather health info from a vSAN's cluster with datacenter
community.vmware.vmware_vsan_health_info:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
cluster_name: 'vSAN01'
datacenter: 'Datacenter_01'
fetch_from_cache: True
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Erwan Quelin (@equelin)