Make wait time for matrix-user-creator configurable and increase default (7 -> 10 sec.)
This commit is contained in:
parent
84c5b44bea
commit
0af6e6d9d9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user