mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-07 15:02:17 +03:00
Add matrix-user-creator role - automatic user account creation support
We no longer ask users to create Matrix user accounts for these bots: - Postmoogle - Honoroit - Reminder Bot Other bots and services (matrix-registration-bot, maubot, mjolnir, Dimension, etc.) require an Access Token to run (not a password), so this new role doesn't help for them. It does help for the above bots though, and for defining your own "initial user accounts" in the `matrix_user_creator_users_additional` variable.
This commit is contained in:
9
roles/matrix-user-creator/tasks/main.yml
Normal file
9
roles/matrix-user-creator/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
|
||||
- when: matrix_user_creator_users | length > 0
|
||||
ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup.yml"
|
||||
tags:
|
||||
# This role intentionally doesn't do work on a `setup-all` tag.
|
||||
# If it did, the initial installation (`--tags=setup-all`) would also potentially polute the database with data,
|
||||
# which would make importing a database dump problematic.
|
||||
- ensure-matrix-users-created
|
||||
Reference in New Issue
Block a user