16 lines
286 B
YAML
16 lines
286 B
YAML
- name: Install QEMU/KVM
|
|
apt:
|
|
name: qemu-kvm
|
|
state: present
|
|
|
|
- name: Install Libvirt
|
|
apt:
|
|
name: ["libvirt-clients", "libvirt-daemon-system"]
|
|
state: present
|
|
|
|
- name: Add user to libvirt group
|
|
user:
|
|
name: "{{ libvirt_user }}"
|
|
groups: libvirt
|
|
append: yes
|