Explorar el Código

Add license information to files for matrix-bot-honoroit

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4121/head
Suguru Hirahara hace 1 año
padre
commit
be667ee783
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: E4F9743DAB4B7B75
Se han modificado 9 ficheros con 68 adiciones y 0 borrados
  1. +8
    -0
      docs/configuring-playbook-bot-honoroit.md
  2. +9
    -0
      roles/custom/matrix-bot-honoroit/defaults/main.yml
  3. +6
    -0
      roles/custom/matrix-bot-honoroit/tasks/main.yml
  4. +10
    -0
      roles/custom/matrix-bot-honoroit/tasks/setup_install.yml
  5. +8
    -0
      roles/custom/matrix-bot-honoroit/tasks/setup_uninstall.yml
  6. +6
    -0
      roles/custom/matrix-bot-honoroit/tasks/validate_config.yml
  7. +9
    -0
      roles/custom/matrix-bot-honoroit/templates/env.j2
  8. +7
    -0
      roles/custom/matrix-bot-honoroit/templates/labels.j2
  9. +5
    -0
      roles/custom/matrix-bot-honoroit/templates/systemd/matrix-bot-honoroit.service.j2.license

+ 8
- 0
docs/configuring-playbook-bot-honoroit.md Ver fichero

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

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

# Setting up Honoroit (optional)

The playbook can install and configure [Honoroit](https://github.com/etkecc/honoroit) for you.


+ 9
- 0
roles/custom/matrix-bot-honoroit/defaults/main.yml Ver fichero

@@ -1,3 +1,12 @@
# SPDX-FileCopyrightText: 2022 - 2025 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2023 Samuel Meenzen
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
# Honoroit is a helpdesk bot
# Project source code URL: https://github.com/etkecc/honoroit


+ 6
- 0
roles/custom/matrix-bot-honoroit/tasks/main.yml Ver fichero

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 - 2023 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2022 Marko Weltzer
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- tags:


+ 10
- 0
roles/custom/matrix-bot-honoroit/tasks/setup_install.yml Ver fichero

@@ -1,3 +1,13 @@
# SPDX-FileCopyrightText: 2022 - 2024 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2024 David Mehren
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---
- ansible.builtin.set_fact:
matrix_bot_honoroit_requires_restart: false


+ 8
- 0
roles/custom/matrix-bot-honoroit/tasks/setup_uninstall.yml Ver fichero

@@ -1,3 +1,11 @@
# SPDX-FileCopyrightText: 2022 Marko Weltzer
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-honoroit service


+ 6
- 0
roles/custom/matrix-bot-honoroit/tasks/validate_config.yml Ver fichero

@@ -1,3 +1,9 @@
# SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 MDAD project contributors
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Fail if required Honoroit settings not defined


+ 9
- 0
roles/custom/matrix-bot-honoroit/templates/env.j2 Ver fichero

@@ -1,3 +1,12 @@
{#
SPDX-FileCopyrightText: 2022 - 2025 Nikita Chernyi
SPDX-FileCopyrightText: 2022 MDAD project contributors
SPDX-FileCopyrightText: 2022 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 Suguru Hirahara

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

HONOROIT_LOGIN={{ matrix_bot_honoroit_login }}
HONOROIT_PASSWORD={{ matrix_bot_honoroit_password }}
HONOROIT_HOMESERVER={{ matrix_bot_honoroit_homeserver }}


+ 7
- 0
roles/custom/matrix-bot-honoroit/templates/labels.j2 Ver fichero

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

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

{% if matrix_bot_honoroit_container_labels_traefik_enabled %}
traefik.enable=true



+ 5
- 0
roles/custom/matrix-bot-honoroit/templates/systemd/matrix-bot-honoroit.service.j2.license Ver fichero

@@ -0,0 +1,5 @@
SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 MDAD project contributors
SPDX-FileCopyrightText: 2023 Nikita Chernyi

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

Cargando…
Cancelar
Guardar