community.vmware.vmware_tools – Execute tasks inside a VM via VMware Tools¶
This plugin is part of the community.vmware collection (version 1.12.0).
To install it use:
ansible-galaxy collection install community.vmware.
To use it in a playbook, specify:
Use VMware tools to run tasks in, or put/fetch files to guest operating systems running in VMware infrastructure.
In case of Windows VMs, set
Does not work with ‘become’.
The below requirements are needed on the local controller node that executes this connection.
pyvmomi (Python library)
requests (Python library)