Add task for VMware provider for install open-vm-tools
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f01f4dece6
commit
19ca65f55f
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
- 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
|
Loading…
Reference in New Issue