From 1ba9c51c8c8e349ebe5e7b6dd7b48e7d1a2aa396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 3 Apr 2021 20:09:56 +0000 Subject: Add daemons and groups for voidlinux --- roles/_workstation/sysconf/tasks/_void.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 roles/_workstation/sysconf/tasks/_void.yml (limited to 'roles/_workstation') diff --git a/roles/_workstation/sysconf/tasks/_void.yml b/roles/_workstation/sysconf/tasks/_void.yml new file mode 100644 index 0000000..058f7c3 --- /dev/null +++ b/roles/_workstation/sysconf/tasks/_void.yml @@ -0,0 +1,21 @@ + +# workstation ~~ roles/_workstation/sysconf/tasks/_voidlinux.yml +# init voidlinux based workstation + +--- + +- name: ensure seatd is enabled + service: + name: seatd + enabled: true + state: restarted + +- name: append current user to system groups + user: + name: "{{ _workstation_env_user }}" + group: "{{ item }}" + append: true + loop: + - _seatd + - audio + - video -- cgit v1.2.3