Procházet zdrojové kódy

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

This defaults to `true`, as before.
pull/4285/head
Slavi Pantaleev před 10 měsíci
rodič
revize
14aef55573
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +1
    -0
      roles/custom/matrix-base/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-base/tasks/setup_matrix_user.yml

+ 1
- 0
roles/custom/matrix-base/defaults/main.yml Zobrazit soubor

@@ -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.


+ 1
- 1
roles/custom/matrix-base/tasks/setup_matrix_user.yml Zobrazit soubor

@@ -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


Načítá se…
Zrušit
Uložit