- name: Install KVM and libvirt ansible.builtin.apt: name: - qemu-kvm - libvirt-daemon-system - libvirt-clients - virtinst state: present update_cache: yes - name: Enable and start libvirtd ansible.builtin.systemd: name: libvirtd state: started enabled: yes