City-of-Bloomington / ansible-role-linux

Ansible role for common settings across linux servers
GNU General Public License v3.0
0 stars 3 forks source link

Install OpenVM tools only on virtual machines #6

Closed inghamn closed 6 years ago

inghamn commented 6 years ago

We have been installing open-vm-tools on all machines. Recently we moved it's declaration out of the main task, and declared it in group_vars.

5

OpenVM tools should be installed by core, but only when the host is a virtual machine. We'll need to check the CPU the kernel is running on to see if it's a VM.

inghamn commented 6 years ago

These should only apply to VMware virtual machines. ie. Virtual box has a different set of tools.