ansible-roles/evolinux-base/tasks/provider_vmware.yml
Eric Morino 19ca65f55f
All checks were successful
continuous-integration/drone/push Build is passing
Add task for VMware provider for install open-vm-tools
2022-05-17 15:05:20 +02:00

18 lines
356 B
YAML

---
- name: Check if the virtual machine on VMWare Host
shell: "dmidecode | grep -q 'VMware'"
check_mode: no
register: vmware_provider
failed_when: False
changed_when: False
tags:
- packages
- name: OpenVM Tools are installed for vmware
apt:
state: present
name: open-vm-tools
tags:
- packages
when: vmware_provider == 0