mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-04-29 23:56:30 +02:00
Add matrix_group_system
to configure whether the matrix
group is also created as a system group
We create the `matrix` user as a system user (smaller uid), so it makes sense to do the same for the `matrix` group.
This commit is contained in:
parent
14aef55573
commit
a59383fcc7
@ -176,8 +176,9 @@ matrix_debian_arch: "{{ 'armhf' if matrix_architecture == 'arm32' else matrix_ar
|
||||
matrix_container_global_registry_prefix_override: ""
|
||||
|
||||
matrix_user_username: "matrix"
|
||||
matrix_user_groupname: "matrix"
|
||||
matrix_user_system: true
|
||||
matrix_user_groupname: "matrix"
|
||||
matrix_group_system: true
|
||||
|
||||
# By default, the playbook creates the user (`matrix_user_username`)
|
||||
# and group (`matrix_user_groupname`) with a random ID.
|
||||
|
@ -10,6 +10,7 @@
|
||||
name: "{{ matrix_user_groupname }}"
|
||||
gid: "{{ omit if matrix_user_gid is none else matrix_user_gid }}"
|
||||
state: present
|
||||
system: "{{ matrix_group_system }}"
|
||||
register: matrix_group
|
||||
|
||||
- name: Ensure Matrix user is created
|
||||
|
Loading…
x
Reference in New Issue
Block a user