Files
jagacloud/ansible/roles/kvm-libvirt/tasks/main.yml
2025-11-23 11:29:12 +07:00

16 lines
311 B
YAML

- 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