mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-04-29 23:56:30 +02:00
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:
parent
ffde4fcb80
commit
14aef55573
@ -177,6 +177,7 @@ matrix_container_global_registry_prefix_override: ""
|
|||||||
|
|
||||||
matrix_user_username: "matrix"
|
matrix_user_username: "matrix"
|
||||||
matrix_user_groupname: "matrix"
|
matrix_user_groupname: "matrix"
|
||||||
|
matrix_user_system: true
|
||||||
|
|
||||||
# By default, the playbook creates the user (`matrix_user_username`)
|
# By default, the playbook creates the user (`matrix_user_username`)
|
||||||
# and group (`matrix_user_groupname`) with a random ID.
|
# and group (`matrix_user_groupname`) with a random ID.
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
group: "{{ matrix_user_groupname }}"
|
group: "{{ matrix_user_groupname }}"
|
||||||
home: "{{ matrix_base_data_path }}"
|
home: "{{ matrix_base_data_path }}"
|
||||||
create_home: false
|
create_home: false
|
||||||
system: true
|
system: "{{ matrix_user_system }}"
|
||||||
register: matrix_user
|
register: matrix_user
|
||||||
|
|
||||||
- name: Initialize matrix_user_uid and matrix_user_gid
|
- name: Initialize matrix_user_uid and matrix_user_gid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user