Add matrix_user_system variable for controlling if matrix user is created as a system user

This defaults to `true`, as before.
This commit is contained in:
Slavi Pantaleev 2025-04-29 10:30:42 +03:00
parent ffde4fcb80
commit 14aef55573
2 changed files with 2 additions and 1 deletions

View File

@ -177,6 +177,7 @@ matrix_container_global_registry_prefix_override: ""
matrix_user_username: "matrix"
matrix_user_groupname: "matrix"
matrix_user_system: true
# By default, the playbook creates the user (`matrix_user_username`)
# and group (`matrix_user_groupname`) with a random ID.

View File

@ -20,7 +20,7 @@
group: "{{ matrix_user_groupname }}"
home: "{{ matrix_base_data_path }}"
create_home: false
system: true
system: "{{ matrix_user_system }}"
register: matrix_user
- name: Initialize matrix_user_uid and matrix_user_gid