As you may have guessed, this module gathers facts about the VMware ESXi hosts within your vSphere or vCenter cluster:
- name: Find out facts on the esxi hosts vmware_host_facts: hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" validate_certs: "no" register: host_facts delegate_to: localhost