From e47c1bed9dd9091b7d5311fef0bc3bb422f7487f Mon Sep 17 00:00:00 2001 From: Mike Ripley Date: Sun, 20 Jun 2021 15:27:26 -0400 Subject: [PATCH 1/2] Install spice-vdagent for qemu/kvm hypervisors --- roles/oem/tasks/vm_only_post.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/oem/tasks/vm_only_post.yml b/roles/oem/tasks/vm_only_post.yml index 856bfc48..981be3ff 100644 --- a/roles/oem/tasks/vm_only_post.yml +++ b/roles/oem/tasks/vm_only_post.yml @@ -13,6 +13,12 @@ notify: - Update dconf database +- name: Install spice agent + apt: + name: spice-vdagent + state: latest + when: "ansible_virtualization_type == 'kvm' or ansible_virtualization_type == 'qemu'" + - name: Set debconf grub install_devices ansible.builtin.debconf: name: grub-pc From 6b33a35730c4d1adf9271d09dc9564a2fcc71579 Mon Sep 17 00:00:00 2001 From: Kyle Laker Date: Sun, 3 Apr 2022 12:18:18 -0400 Subject: [PATCH 2/2] Add spice-webdavd --- roles/oem/tasks/vm_only_post.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/oem/tasks/vm_only_post.yml b/roles/oem/tasks/vm_only_post.yml index 981be3ff..87ed2551 100644 --- a/roles/oem/tasks/vm_only_post.yml +++ b/roles/oem/tasks/vm_only_post.yml @@ -14,8 +14,10 @@ - Update dconf database - name: Install spice agent - apt: - name: spice-vdagent + ansible.builtin.apt: + name: + - spice-vdagent + - spice-webdavd state: latest when: "ansible_virtualization_type == 'kvm' or ansible_virtualization_type == 'qemu'"