ref(playbook): Change to role-based structure
This commit is contained in:
parent
95fd68bed8
commit
b3b280fbe4
39 changed files with 635 additions and 601 deletions
54
roles/wayland/tasks/main.yaml
Normal file
54
roles/wayland/tasks/main.yaml
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
- name: Install intel wayland drivers
|
||||
community.general.xbps:
|
||||
name:
|
||||
- mesa-dri
|
||||
state: present
|
||||
tags:
|
||||
- intel
|
||||
- drivers
|
||||
- packages
|
||||
|
||||
- name: Install wayland packages
|
||||
community.general.xbps:
|
||||
name:
|
||||
- dbus
|
||||
- seatd
|
||||
- turnstile
|
||||
state: present
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: Activate wayland services
|
||||
ansible.builtin.file:
|
||||
force: "yes"
|
||||
src: "/etc/sv/{{ item }}"
|
||||
dest: "/etc/runit/runsvdir/default/{{ item }}"
|
||||
state: link
|
||||
with_items: [dbus, turnstiled, seatd]
|
||||
|
||||
- name: Set user service directory to $HOME/.local/state/service
|
||||
ansible.builtin.copy:
|
||||
src: runit.conf
|
||||
dest: /etc/turnstile/backend/runit.conf
|
||||
mode: 0644
|
||||
|
||||
- name: Install wlr desktop portals
|
||||
community.general.xbps:
|
||||
name:
|
||||
- xdg-desktop-portal
|
||||
- xdg-desktop-portal-wlr
|
||||
state: present
|
||||
tags: desktop-portal
|
||||
tags:
|
||||
- packages
|
||||
|
||||
# required e.g. for sioyek to work in wayland void
|
||||
- name: Install qt5 and qt6 wayland libraries
|
||||
community.general.xbps:
|
||||
name:
|
||||
- qt5-wayland
|
||||
- qt6-wayland
|
||||
state: present
|
||||
tags:
|
||||
- packages
|
||||
- qt
|
||||
Loading…
Add table
Add a link
Reference in a new issue