Start role implementing the VMs.
This commit is contained in:
parent
0cc41715d8
commit
c8bd147d78
4 changed files with 19 additions and 1 deletions
14
roles/lmn_vm/tasks/main.yml
Normal file
14
roles/lmn_vm/tasks/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue