For this example I have deployed a fresh Python venv and installed ansible and jmespath using pip.
This library is built for and tested against ESXi and vCenter 5.5, 6.0 and 6.5. The vSphere module uses the Govmomi library to collect metrics from any Vmware SDK URL (ESXi/VCenter).What makes Ansible popular is its agent less feature and granular control. Ansible is tool of choice these days if you must manage multiple devices, be it Linux, Windows, Mac, Network Devices, VMware and lot more.