14 lines
314 B
YAML
14 lines
314 B
YAML
---
|
|
- name: install libvirt packages
|
|
apt:
|
|
name:
|
|
- libvirt-daemon-system
|
|
- virt-manager
|
|
state: latest
|
|
|
|
- name: allow all users to use VMs
|
|
lineinfile:
|
|
dest: /etc/libvirt/libvirtd.conf
|
|
line: 'auth_unix_rw = "none"'
|
|
insertafter: '#auth_unix_rw = "polkit"'
|
|
notify: reload libvirtd
|