Ver a proveniência

Make wait time for matrix-user-creator configurable and increase default (7 -> 10 sec.)

pull/2515/head
Slavi Pantaleev há 3 anos
ascendente
cometimento
0af6e6d9d9
2 ficheiros alterados com 4 adições e 1 eliminações
  1. +3
    -0
      roles/custom/matrix-user-creator/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-user-creator/tasks/setup.yml

+ 3
- 0
roles/custom/matrix-user-creator/defaults/main.yml Ver ficheiro

@@ -20,3 +20,6 @@ matrix_user_creator_users_auto: []
# Add your own users here to have them end up in `matrix_user_creator_users` (see `vars/main.yml`) and get automatically created.
# For example syntax for this variable, see the documentation for `matrix_user_creator_users` in `vars/main.yml`.
matrix_user_creator_users_additional: []

# matrix_user_creator_homeserver_start_wait_time_seconds specifies how long to wait after starting the homeserver service and before doing our work.
matrix_user_creator_homeserver_start_wait_time_seconds: 10

+ 1
- 1
roles/custom/matrix-user-creator/tasks/setup.yml Ver ficheiro

@@ -21,7 +21,7 @@

- name: Wait a while, so that the homeserver can manage to start before creating Matrix users
ansible.builtin.pause:
seconds: 7
seconds: "{{ matrix_user_creator_homeserver_start_wait_time_seconds }}"
when: matrix_user_registrator_homeserver_start_result.changed | bool

- name: Ensure Matrix users are created


Carregando…
Cancelar
Guardar