diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-04-03 20:09:56 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-04-03 20:09:56 +0000 |
commit | 1ba9c51c8c8e349ebe5e7b6dd7b48e7d1a2aa396 (patch) | |
tree | f59d8b7fee00f793b7f8050f4eac979036fde0be /roles/_workstation | |
parent | 472ae9da8df52c43dd2b47de4ad70a446325f91c (diff) | |
download | infrastructure-1ba9c51c8c8e349ebe5e7b6dd7b48e7d1a2aa396.tar.gz |
Add daemons and groups for voidlinux
Diffstat (limited to 'roles/_workstation')
-rw-r--r-- | roles/_workstation/sysconf/tasks/_void.yml | 21 |
1 files changed, 21 insertions, 0 deletions
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 |