Refactor for use with Hyprland
This commit is contained in:
parent
67f4db010d
commit
e38ba9220b
26 changed files with 457 additions and 398 deletions
28
roles/qemu-kvm/tasks/main.yml
Normal file
28
roles/qemu-kvm/tasks/main.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
- name: Install packages
|
||||
become: yes
|
||||
apt:
|
||||
state: latest
|
||||
install_recommends: false
|
||||
name:
|
||||
- qemu-kvm
|
||||
- qemu-system
|
||||
- qemu-utils
|
||||
- libvirt-daemon
|
||||
- libvirt-daemon-system
|
||||
- ovmf
|
||||
- virt-manager
|
||||
|
||||
- name: Ensure group "libvirt" exists
|
||||
become: yes
|
||||
ansible.builtin.group:
|
||||
name: libvirt
|
||||
state: present
|
||||
|
||||
- name: Add user to group "libvirt"
|
||||
become: yes
|
||||
ansible.builtin.user:
|
||||
name: "{{ ansible_user_id }}"
|
||||
state: present
|
||||
groups:
|
||||
- libvirt
|
||||
append: true
|
Loading…
Add table
Add a link
Reference in a new issue