Create libvirt role for virtualization

This commit is contained in:
Kris Lamoureux 2020-02-08 22:49:25 -05:00
parent cbc40e2f82
commit 9edd467239
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -0,0 +1,15 @@
- 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