Просмотр исходного кода

Merge pull request #4124 from luixxiul/fix

Add license information to files for components
pull/4129/head
Slavi Pantaleev 1 год назад
committed by GitHub
Родитель
Сommit
8abb8455c7
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: B5690EEEBB952194
59 измененных файлов: 322 добавлений и 0 удалений
  1. +8
    -0
      docs/configuring-playbook-client-schildichat-web.md
  2. +8
    -0
      docs/configuring-playbook-conduit.md
  3. +8
    -0
      docs/configuring-playbook-dendrite.md
  4. +7
    -0
      docs/configuring-playbook-matrix-authentication-service.md
  5. +5
    -0
      roles/custom/matrix-authentication-service/defaults/main.yml
  6. +4
    -0
      roles/custom/matrix-authentication-service/tasks/install.yml
  7. +4
    -0
      roles/custom/matrix-authentication-service/tasks/main.yml
  8. +4
    -0
      roles/custom/matrix-authentication-service/tasks/mas_cli_doctor.yml
  9. +4
    -0
      roles/custom/matrix-authentication-service/tasks/register_user.yml
  10. +5
    -0
      roles/custom/matrix-authentication-service/tasks/syn2mas.yml
  11. +4
    -0
      roles/custom/matrix-authentication-service/tasks/uninstall.yml
  12. +4
    -0
      roles/custom/matrix-authentication-service/tasks/util/prepare_key.yml
  13. +4
    -0
      roles/custom/matrix-authentication-service/tasks/validate_config.yml
  14. +3
    -0
      roles/custom/matrix-authentication-service/templates/bin/mas-cli.j2.license
  15. +3
    -0
      roles/custom/matrix-authentication-service/templates/bin/register-user.j2.license
  16. +3
    -0
      roles/custom/matrix-authentication-service/templates/config.yaml.j2.license
  17. +6
    -0
      roles/custom/matrix-authentication-service/templates/env.j2
  18. +6
    -0
      roles/custom/matrix-authentication-service/templates/labels.j2
  19. +3
    -0
      roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2.license
  20. +3
    -0
      roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2.license
  21. +3
    -0
      roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2.license
  22. +3
    -0
      roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2.license
  23. +3
    -0
      roles/custom/matrix-authentication-service/templates/systemd/matrix-authentication-service.service.j2.license
  24. +4
    -0
      roles/custom/matrix-authentication-service/vars/main.yml
  25. +7
    -0
      roles/custom/matrix-client-schildichat/defaults/main.yml
  26. +4
    -0
      roles/custom/matrix-client-schildichat/tasks/main.yml
  27. +5
    -0
      roles/custom/matrix-client-schildichat/tasks/prepare_themes.yml
  28. +6
    -0
      roles/custom/matrix-client-schildichat/tasks/self_check.yml
  29. +8
    -0
      roles/custom/matrix-client-schildichat/tasks/setup_install.yml
  30. +5
    -0
      roles/custom/matrix-client-schildichat/tasks/setup_uninstall.yml
  31. +6
    -0
      roles/custom/matrix-client-schildichat/tasks/validate_config.yml
  32. +4
    -0
      roles/custom/matrix-client-schildichat/templates/config.json.j2.license
  33. +7
    -0
      roles/custom/matrix-client-schildichat/templates/labels.j2
  34. +3
    -0
      roles/custom/matrix-client-schildichat/templates/map_style.json.j2.license
  35. +5
    -0
      roles/custom/matrix-client-schildichat/templates/systemd/matrix-client-schildichat.service.j2.license
  36. +4
    -0
      roles/custom/matrix-client-schildichat/templates/welcome.html.j2.license
  37. +4
    -0
      roles/custom/matrix-client-schildichat/vars/main.yml
  38. +7
    -0
      roles/custom/matrix-conduit/defaults/main.yml
  39. +5
    -0
      roles/custom/matrix-conduit/tasks/main.yml
  40. +8
    -0
      roles/custom/matrix-conduit/tasks/setup_install.yml
  41. +6
    -0
      roles/custom/matrix-conduit/tasks/setup_uninstall.yml
  42. +4
    -0
      roles/custom/matrix-conduit/tasks/validate_config.yml
  43. +8
    -0
      roles/custom/matrix-conduit/templates/conduit.toml.j2
  44. +7
    -0
      roles/custom/matrix-conduit/templates/labels.j2
  45. +4
    -0
      roles/custom/matrix-conduit/templates/systemd/matrix-conduit.service.j2.license
  46. +5
    -0
      roles/custom/matrix-conduit/vars/main.yml
  47. +14
    -0
      roles/custom/matrix-dendrite/defaults/main.yml
  48. +7
    -0
      roles/custom/matrix-dendrite/tasks/main.yml
  49. +6
    -0
      roles/custom/matrix-dendrite/tasks/register_user.yml
  50. +6
    -0
      roles/custom/matrix-dendrite/tasks/self_check_client_api.yml
  51. +6
    -0
      roles/custom/matrix-dendrite/tasks/self_check_federation_api.yml
  52. +11
    -0
      roles/custom/matrix-dendrite/tasks/setup_install.yml
  53. +4
    -0
      roles/custom/matrix-dendrite/tasks/setup_uninstall.yml
  54. +6
    -0
      roles/custom/matrix-dendrite/tasks/validate_config.yml
  55. +3
    -0
      roles/custom/matrix-dendrite/templates/bin/create-account.j2.license
  56. +10
    -0
      roles/custom/matrix-dendrite/templates/dendrite.yaml.j2
  57. +6
    -0
      roles/custom/matrix-dendrite/templates/labels.j2
  58. +7
    -0
      roles/custom/matrix-dendrite/templates/systemd/matrix-dendrite.service.j2.license
  59. +5
    -0
      roles/custom/matrix-dendrite/vars/main.yml

+ 8
- 0
docs/configuring-playbook-client-schildichat-web.md Просмотреть файл

@@ -1,3 +1,11 @@
<!--
SPDX-FileCopyrightText: 2023 Nikita Chernyi
SPDX-FileCopyrightText: 2023 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# Setting up SchildiChat Web (optional)

The playbook can install and configure the [SchildiChat Web](https://github.com/SchildiChat/schildichat-desktop) Matrix client for you.


+ 8
- 0
docs/configuring-playbook-conduit.md Просмотреть файл

@@ -1,3 +1,11 @@
<!--
SPDX-FileCopyrightText: 2022 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# Configuring Conduit (optional)

The playbook can install and configure the [Conduit](https://conduit.rs) Matrix server for you.


+ 8
- 0
docs/configuring-playbook-dendrite.md Просмотреть файл

@@ -1,3 +1,11 @@
<!--
SPDX-FileCopyrightText: 2022 MDAD project contributors
SPDX-FileCopyrightText: 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# Configuring Dendrite (optional)

The playbook can install and configure the [Dendrite](https://github.com/element-hq/dendrite) Matrix server for you.


+ 7
- 0
docs/configuring-playbook-matrix-authentication-service.md Просмотреть файл

@@ -1,3 +1,10 @@
<!--
SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# Setting up Matrix Authentication Service (optional)

The playbook can install and configure [Matrix Authentication Service](https://github.com/element-hq/matrix-authentication-service/) (MAS) — a service operating alongside your existing [Synapse](./configuring-playbook-synapse.md) homeserver and providing [better authentication, session management and permissions in Matrix](https://matrix.org/blog/2023/09/better-auth/).


+ 5
- 0
roles/custom/matrix-authentication-service/defaults/main.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

# matrix-authentication-service (MAS) is an OAuth 2.0 and OpenID Provider server for Matrix.


+ 4
- 0
roles/custom/matrix-authentication-service/tasks/install.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Ensure Matrix Authentication Service paths exist


+ 4
- 0
roles/custom/matrix-authentication-service/tasks/main.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 4
- 0
roles/custom/matrix-authentication-service/tasks/mas_cli_doctor.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Ensure Matrix Authentication Service is started


+ 4
- 0
roles/custom/matrix-authentication-service/tasks/register_user.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if playbook called incorrectly


+ 5
- 0
roles/custom/matrix-authentication-service/tasks/syn2mas.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- ansible.builtin.set_fact:


+ 4
- 0
roles/custom/matrix-authentication-service/tasks/uninstall.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-authentication-service service


+ 4
- 0
roles/custom/matrix-authentication-service/tasks/util/prepare_key.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Prepare Matrix Authentication Service private key file path ({{ private_key_definition.key_file }})


+ 4
- 0
roles/custom/matrix-authentication-service/tasks/validate_config.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if required matrix-authentication-service settings not defined


+ 3
- 0
roles/custom/matrix-authentication-service/templates/bin/mas-cli.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-authentication-service/templates/bin/register-user.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-authentication-service/templates/config.yaml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 6
- 0
roles/custom/matrix-authentication-service/templates/env.j2 Просмотреть файл

@@ -1 +1,7 @@
{#
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{{ matrix_authentication_service_environment_variables_extension }}

+ 6
- 0
roles/custom/matrix-authentication-service/templates/labels.j2 Просмотреть файл

@@ -1,3 +1,9 @@
{#
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if matrix_authentication_service_container_labels_traefik_enabled %}
traefik.enable=true



+ 3
- 0
roles/custom/matrix-authentication-service/templates/provider/anthropic-config.yml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-authentication-service/templates/provider/groq-config.yml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-authentication-service/templates/provider/mistral-config.yml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-authentication-service/templates/provider/openai-config.yml.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 3
- 0
roles/custom/matrix-authentication-service/templates/systemd/matrix-authentication-service.service.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 4
- 0
roles/custom/matrix-authentication-service/vars/main.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

# Like `matrix_authentication_service_config_http_public_base` but a private base URL only accessible from within the container network.


+ 7
- 0
roles/custom/matrix-client-schildichat/defaults/main.yml Просмотреть файл

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2023 - 2024 Nikita Chernyi
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# Project source code URL: https://github.com/SchildiChat/schildichat-desktop



+ 4
- 0
roles/custom/matrix-client-schildichat/tasks/main.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 5
- 0
roles/custom/matrix-client-schildichat/tasks/prepare_themes.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

#


+ 6
- 0
roles/custom/matrix-client-schildichat/tasks/self_check.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- ansible.builtin.set_fact:


+ 8
- 0
roles/custom/matrix-client-schildichat/tasks/setup_install.yml Просмотреть файл

@@ -1,3 +1,11 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
# SPDX-FileCopyrightText: 2023 Pierre 'McFly' Marty
# SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
# SPDX-FileCopyrightText: 2024 David Mehren
# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Ensure SchildiChat Web paths exists


+ 5
- 0
roles/custom/matrix-client-schildichat/tasks/setup_uninstall.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-client-schildichat.service


+ 6
- 0
roles/custom/matrix-client-schildichat/tasks/validate_config.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: (Deprecation) Catch and report renamed SchildiChat Web settings


+ 4
- 0
roles/custom/matrix-client-schildichat/templates/config.json.j2.license Просмотреть файл

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 Nikita Chernyi
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 7
- 0
roles/custom/matrix-client-schildichat/templates/labels.j2 Просмотреть файл

@@ -1,3 +1,10 @@
{#
SPDX-FileCopyrightText: 2023 Nikita Chernyi
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if matrix_client_schildichat_container_labels_traefik_enabled %}
traefik.enable=true



+ 3
- 0
roles/custom/matrix-client-schildichat/templates/map_style.json.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 Nikita Chernyi

SPDX-License-Identifier: AGPL-3.0-or-later

+ 5
- 0
roles/custom/matrix-client-schildichat/templates/systemd/matrix-client-schildichat.service.j2.license Просмотреть файл

@@ -0,0 +1,5 @@
SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2023 Nikita Chernyi
SPDX-FileCopyrightText: 2024 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later

+ 4
- 0
roles/custom/matrix-client-schildichat/templates/welcome.html.j2.license Просмотреть файл

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2023 Nikita Chernyi
SPDX-FileCopyrightText: 2023 Pierre 'McFly' Marty

SPDX-License-Identifier: AGPL-3.0-or-later

+ 4
- 0
roles/custom/matrix-client-schildichat/vars/main.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Nikita Chernyi
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

matrix_client_schildichat_embedded_pages_home_url: "{{ ('' if matrix_client_schildichat_embedded_pages_home_path is none else 'home.html') }}"

+ 7
- 0
roles/custom/matrix-conduit/defaults/main.yml Просмотреть файл

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2022 - 2024 Samuel Meenzen
# SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Charles Wright
# SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# Conduit is a simple, fast and reliable chat server powered by Matrix
# Project source code URL: https://gitlab.com/famedly/conduit


+ 5
- 0
roles/custom/matrix-conduit/tasks/main.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Charles Wright
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 8
- 0
roles/custom/matrix-conduit/tasks/setup_install.yml Просмотреть файл

@@ -1,3 +1,11 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Charles Wright
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2024 David Mehren
# SPDX-FileCopyrightText: 2024 Samuel Meenzen
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Ensure Conduit config path exists


+ 6
- 0
roles/custom/matrix-conduit/tasks/setup_uninstall.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 Charles Wright
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-conduit service


+ 4
- 0
roles/custom/matrix-conduit/tasks/validate_config.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if required Conduit settings not defined


+ 8
- 0
roles/custom/matrix-conduit/templates/conduit.toml.j2 Просмотреть файл

@@ -1,3 +1,11 @@
{#
SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Charles Wright
SPDX-FileCopyrightText: 2024 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
#}

# =============================================================================
# This is the official example config for Conduit.
# If you use it for your server, you will need to adjust it to your own needs.


+ 7
- 0
roles/custom/matrix-conduit/templates/labels.j2 Просмотреть файл

@@ -1,3 +1,10 @@
{#
SPDX-FileCopyrightText: 2024 Daniel Lo Nigro
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if matrix_conduit_container_labels_traefik_enabled %}
traefik.enable=true



+ 4
- 0
roles/custom/matrix-conduit/templates/systemd/matrix-conduit.service.j2.license Просмотреть файл

@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Charles Wright

SPDX-License-Identifier: AGPL-3.0-or-later

+ 5
- 0
roles/custom/matrix-conduit/vars/main.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Charles Wright
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
matrix_conduit_client_api_url_endpoint_public: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}://{{ matrix_conduit_hostname }}/_matrix/client/versions"
matrix_conduit_federation_api_url_endpoint_public: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}://{{ matrix_conduit_hostname }}:{{ matrix_federation_public_port }}/_matrix/federation/v1/version"

+ 14
- 0
roles/custom/matrix-dendrite/defaults/main.yml Просмотреть файл

@@ -1,3 +1,17 @@
# SPDX-FileCopyrightText: 2022 - 2023 MDAD project contributors
# SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Aaron Raimist
# SPDX-FileCopyrightText: 2022 Darren Rambaud
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 Shaleen Jain
# SPDX-FileCopyrightText: 2023 Isaiah Becker-Mayer
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# Dendrite is a second-generation Matrix homeserver currently in Beta
# Project source code URL: https://github.com/matrix-org/dendrite


+ 7
- 0
roles/custom/matrix-dendrite/tasks/main.yml Просмотреть файл

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2022 - 2023 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Aaron Raimist
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 6
- 0
roles/custom/matrix-dendrite/tasks/register_user.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if playbook called incorrectly


+ 6
- 0
roles/custom/matrix-dendrite/tasks/self_check_client_api.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- name: Check Matrix Client API
ansible.builtin.uri:


+ 6
- 0
roles/custom/matrix-dendrite/tasks/self_check_federation_api.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- name: Check Matrix Federation API
ansible.builtin.uri:


+ 11
- 0
roles/custom/matrix-dendrite/tasks/setup_install.yml Просмотреть файл

@@ -1,3 +1,14 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Jim Myhrberg
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2023 Isaiah Becker-Mayer
# SPDX-FileCopyrightText: 2024 David Mehren
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- name: Ensure Dendrite paths exist
ansible.builtin.file:


+ 4
- 0
roles/custom/matrix-dendrite/tasks/setup_uninstall.yml Просмотреть файл

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-dendrite service


+ 6
- 0
roles/custom/matrix-dendrite/tasks/validate_config.yml Просмотреть файл

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
# SPDX-FileCopyrightText: 2023 MDAD project contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: (Deprecation) Catch and report renamed Dendrite settings


+ 3
- 0
roles/custom/matrix-dendrite/templates/bin/create-account.j2.license Просмотреть файл

@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later

+ 10
- 0
roles/custom/matrix-dendrite/templates/dendrite.yaml.j2 Просмотреть файл

@@ -1,3 +1,13 @@
{#
SPDX-FileCopyrightText: 2022 - 2023 MDAD project contributors
SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Jip J. Dekker
SPDX-FileCopyrightText: 2022 Shaleen Jain
SPDX-FileCopyrightText: 2024 Suguru Hirahara

SPDX-License-Identifier: AGPL-3.0-or-later
#}

# This is the Dendrite configuration file.
#
# The configuration is split up into sections - each Dendrite component has a


+ 6
- 0
roles/custom/matrix-dendrite/templates/labels.j2 Просмотреть файл

@@ -1,3 +1,9 @@
{#
SPDX-FileCopyrightText: 2024 Slavi Pantaleev

SPDX-License-Identifier: AGPL-3.0-or-later
#}

{% if matrix_dendrite_container_labels_traefik_enabled %}
traefik.enable=true



+ 7
- 0
roles/custom/matrix-dendrite/templates/systemd/matrix-dendrite.service.j2.license Просмотреть файл

@@ -0,0 +1,7 @@
SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Charles Wright
SPDX-FileCopyrightText: 2022 Jip J. Dekker
SPDX-FileCopyrightText: 2022 MDAD project contributors
SPDX-FileCopyrightText: 2022 Shaleen Jain

SPDX-License-Identifier: AGPL-3.0-or-later

+ 5
- 0
roles/custom/matrix-dendrite/vars/main.yml Просмотреть файл

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Jip J. Dekker
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
matrix_dendrite_client_api_url_endpoint_public: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}://{{ matrix_dendrite_hostname }}/_matrix/client/versions"
matrix_dendrite_federation_api_url_endpoint_public: "{{ 'https' if matrix_playbook_ssl_enabled else 'http' }}://{{ matrix_dendrite_hostname }}:{{ matrix_federation_public_port }}/_matrix/federation/v1/version"


Загрузка…
Отмена
Сохранить