diff --git a/roles/oem/tasks/vm_only_post.yml b/roles/oem/tasks/vm_only_post.yml index 856bfc48..87ed2551 100644 --- a/roles/oem/tasks/vm_only_post.yml +++ b/roles/oem/tasks/vm_only_post.yml @@ -13,6 +13,14 @@ notify: - Update dconf database +- name: Install spice agent + ansible.builtin.apt: + name: + - spice-vdagent + - spice-webdavd + state: latest + when: "ansible_virtualization_type == 'kvm' or ansible_virtualization_type == 'qemu'" + - name: Set debconf grub install_devices ansible.builtin.debconf: name: grub-pc