diff --git a/deploy/intellabs/kafl/roles/examples/tasks/template_windows.yml b/deploy/intellabs/kafl/roles/examples/tasks/template_windows.yml index 1338d39b..4324f7db 100644 --- a/deploy/intellabs/kafl/roles/examples/tasks/template_windows.yml +++ b/deploy/intellabs/kafl/roles/examples/tasks/template_windows.yml @@ -76,3 +76,29 @@ path: /usr/lib/qemu/qemu-bridge-helper mode: 'u+s' become: true + + +- name: Install required for init + ansible.builtin.apt: + # https://askubuntu.com/questions/1225216/failed-to-connect-socket-to-var-run-libvirt-libvirt-sock + name: + - pax-utils + - qemu + - qemu-kvm + - libvirt-clients + - libvirt-daemon-system + - virtinst + - bridge-utils + state: present + become: true + tags: + - virtualization_packages + +- name: Enable and start libvirtd service + ansible.builtin.systemd: + name: libvirtd + enabled: yes + state: started + become: true + tags: + - libvirtd_service