ref(playbook): Move all plays into separate directory

This commit is contained in:
Marty Oehme 2025-02-23 10:23:24 +01:00
parent 996560410e
commit 8e79c5f804
Signed by: Marty
GPG key ID: 4E535BC19C61886E
7 changed files with 6 additions and 6 deletions

33
books/void_wayland.yaml Normal file
View file

@ -0,0 +1,33 @@
- name: Install void wayland environment
hosts: target_system
become: true
tasks:
- name: Install intel wayland drivers
community.general.xbps:
name:
- mesa-dri
state: present
- name: Install wayland packages
community.general.xbps:
name:
- dbus
- seatd
- turnstile
state: present
# notify: installed-wayland -> TODO: Use handler? Currently using task below
- 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: Install wlr desktop portals
community.general.xbps:
name:
- xdg-desktop-portal
- xdg-desktop-portal-wlr
state: present