Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>pull/4143/head
| @@ -1,3 +1,10 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara | |||||
| SPDX-FileCopyrightText: 2024 MDAD project contributors | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # Setting up Draupnir for All/D4A (optional) | # Setting up Draupnir for All/D4A (optional) | ||||
| The playbook can install and configure the [Draupnir](https://github.com/the-draupnir-project/Draupnir) moderation tool for you in appservice mode. | The playbook can install and configure the [Draupnir](https://github.com/the-draupnir-project/Draupnir) moderation tool for you in appservice mode. | ||||
| @@ -1,3 +1,12 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2023 - 2025 MDAD project contributors | |||||
| SPDX-FileCopyrightText: 2023 Kim Brose | |||||
| SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # Setting up Draupnir (optional) | # Setting up Draupnir (optional) | ||||
| The playbook can install and configure the [Draupnir](https://github.com/the-draupnir-project/Draupnir) moderation bot for you. | The playbook can install and configure the [Draupnir](https://github.com/the-draupnir-project/Draupnir) moderation bot for you. | ||||
| @@ -1,3 +1,9 @@ | |||||
| # SPDX-FileCopyrightText: 2023 - 2024 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2023 Samuel Meenzen | |||||
| # SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| # A moderation tool for Matrix | # A moderation tool for Matrix | ||||
| # Project source code URL: https://github.com/the-draupnir-project/Draupnir | # Project source code URL: https://github.com/the-draupnir-project/Draupnir | ||||
| @@ -1,3 +1,8 @@ | |||||
| # SPDX-FileCopyrightText: 2023 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2023 Slavi Pantaleev | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| - tags: | - tags: | ||||
| @@ -1,3 +1,10 @@ | |||||
| # SPDX-FileCopyrightText: 2023 - 2024 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2024 David Mehren | |||||
| # SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| # SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| - ansible.builtin.set_fact: | - ansible.builtin.set_fact: | ||||
| @@ -1,3 +1,7 @@ | |||||
| # SPDX-FileCopyrightText: 2023 MDAD project contributors | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| - name: Check existence of matrix-bot-draupnir service | - name: Check existence of matrix-bot-draupnir service | ||||
| @@ -1,3 +1,8 @@ | |||||
| # SPDX-FileCopyrightText: 2023 - 2025 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| - name: Fail if required matrix-bot-draupnir variables are undefined | - name: Fail if required matrix-bot-draupnir variables are undefined | ||||
| @@ -1,3 +1,9 @@ | |||||
| {# | |||||
| SPDX-FileCopyrightText: 2024 MDAD project contributors | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| #} | |||||
| {% if matrix_bot_draupnir_container_labels_traefik_enabled %} | {% if matrix_bot_draupnir_container_labels_traefik_enabled %} | ||||
| traefik.enable=true | traefik.enable=true | ||||
| @@ -1,3 +1,11 @@ | |||||
| {# | |||||
| SPDX-FileCopyrightText: 2023 - 2024 MDAD project contributors | |||||
| SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| #} | |||||
| # Endpoint URL that Draupnir uses to interact with the Matrix homeserver (client-server API), | # Endpoint URL that Draupnir uses to interact with the Matrix homeserver (client-server API), | ||||
| homeserverUrl: {{ matrix_bot_draupnir_homeserver_url | to_json }} | homeserverUrl: {{ matrix_bot_draupnir_homeserver_url | to_json }} | ||||
| @@ -0,0 +1,4 @@ | |||||
| SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 MDAD project contributors | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||