Ansible Role linuxfabrik.lfops.open_vm_tools¶
This role installs the Open VM Tools, a set of services and modules that enable several features in VMware products for better management of, and seamless user interactions with, guests. It includes kernel modules for enhancing the performance of virtual machines running Linux or other VMware supported Unix like guest operating systems. It also manages vmtoolsd.service.
This role only makes sense on VMware-virtualized guests. On other virtualization platforms (KVM, Hyper-V, ...) the package may install but the daemon will not have anything useful to talk to.
Available since LFOps 2.0.0.
Tags¶
open_vm_tools
- Installs
open-vm-toolsand managesvmtoolsd.service. - Triggers: none.
open_vm_tools:state
- Manages the state of
vmtoolsd.service(enable/disable at boot, plus start/stop/restart/reload). - Triggers: none.
Optional Role Variables¶
open_vm_tools__service_enabled
- Whether
vmtoolsd.serviceis enabled at boot, analogous tosystemctl enable / disable. - Type: Bool.
- Default:
true
open_vm_tools__service_state
- State of
vmtoolsd.service, analogous tosystemctl start / stop / restart / reload. - Type: String. One of
reloaded,restarted,started,stopped. - Default:
'started'ifopen_vm_tools__service_enabledistrue, otherwise'stopped'.
Example:
# optional
open_vm_tools__service_enabled: true
open_vm_tools__service_state: 'started'