From f16e0cdb7005d069bbb7829b64f0a0d684375885 Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Sun, 21 Apr 2019 12:22:26 +0200 Subject: [PATCH] Include check for hyper-v vms --- Manual.org | 2 +- roles/autoinstall-virtualbox-guest/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Manual.org b/Manual.org index 4a4f7cb..41c9d8d 100644 --- a/Manual.org +++ b/Manual.org @@ -5675,7 +5675,7 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04 - vdrctl enable xineliboutput ignore_errors: yes when: - - ansible_virtualization_type == "virtualbox" or ansible_virtualization_type == "VMware" + - ansible_virtualization_type in ["virtualbox", "VMware", "VirtualPC"] - ansible_virtualization_role == "guest" #+END_SRC ** autoinstall-atric-usb diff --git a/roles/autoinstall-virtualbox-guest/tasks/main.yml b/roles/autoinstall-virtualbox-guest/tasks/main.yml index 4363b77..c0f1eed 100644 --- a/roles/autoinstall-virtualbox-guest/tasks/main.yml +++ b/roles/autoinstall-virtualbox-guest/tasks/main.yml @@ -37,5 +37,5 @@ - vdrctl enable xineliboutput ignore_errors: yes when: - - ansible_virtualization_type == "virtualbox" or ansible_virtualization_type == "VMware" + - ansible_virtualization_type in ["virtualbox", "VMware", "VirtualPC"] - ansible_virtualization_role == "guest"