homelab/roles/libvirt/tasks/main.yml

16 lines
286 B
YAML
Raw Normal View History

2020-02-09 03:49:25 +00:00
- 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