Include check for hyper-v vms

This commit is contained in:
Alexander Grothe 2019-04-21 12:22:26 +02:00
parent 10c1c662c4
commit f16e0cdb70
2 changed files with 2 additions and 2 deletions

View File

@ -5675,7 +5675,7 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
- vdrctl enable xineliboutput - vdrctl enable xineliboutput
ignore_errors: yes ignore_errors: yes
when: when:
- ansible_virtualization_type == "virtualbox" or ansible_virtualization_type == "VMware" - ansible_virtualization_type in ["virtualbox", "VMware", "VirtualPC"]
- ansible_virtualization_role == "guest" - ansible_virtualization_role == "guest"
#+END_SRC #+END_SRC
** autoinstall-atric-usb ** autoinstall-atric-usb

View File

@ -37,5 +37,5 @@
- vdrctl enable xineliboutput - vdrctl enable xineliboutput
ignore_errors: yes ignore_errors: yes
when: when:
- ansible_virtualization_type == "virtualbox" or ansible_virtualization_type == "VMware" - ansible_virtualization_type in ["virtualbox", "VMware", "VirtualPC"]
- ansible_virtualization_role == "guest" - ansible_virtualization_role == "guest"