2025-03-03 18:00:04 +09:00
# SPDX-FileCopyrightText: 2022 - 2023 Slavi Pantaleev
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
#
# SPDX-License-Identifier: AGPL-3.0-or-later
2022-11-01 16:22:58 +02:00
---
2023-03-07 17:28:10 +02:00
- tags :
2022-11-01 16:22:58 +02:00
# This role intentionally doesn't do work on a `setup-all` tag.
2025-06-02 22:16:14 +09:00
# If it did, the initial installation (`--tags=setup-all`) would also potentially pollute the database with data,
2022-11-01 16:22:58 +02:00
# which would make importing a database dump problematic.
2025-03-15 16:43:14 +09:00
#
# See the variable "matrix_user_creator_users_auto" on group_vars/matrix_servers for actual values of users which running these tags can create with this role by default.
2022-11-01 16:22:58 +02:00
- ensure-matrix-users-created
2023-10-02 18:33:21 +03:00
- ensure-users-created
2023-03-07 17:28:10 +02:00
block :
- when : matrix_user_creator_users | length > 0
ansible.builtin.include_tasks : "{{ role_path }}/tasks/setup.yml"