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

Add license information to files for matrix-bot-honoroit

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4121/head
Suguru Hirahara 1 год назад
Родитель
Сommit
be667ee783
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
9 измененных файлов: 68 добавлений и 0 удалений
  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 Просмотреть файл

@@ -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) # Setting up Honoroit (optional)


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


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

@@ -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 # Honoroit is a helpdesk bot
# Project source code URL: https://github.com/etkecc/honoroit # Project source code URL: https://github.com/etkecc/honoroit


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

@@ -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: - tags:


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

@@ -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: - ansible.builtin.set_fact:
matrix_bot_honoroit_requires_restart: false matrix_bot_honoroit_requires_restart: false


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

@@ -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 - name: Check existence of matrix-honoroit service


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

@@ -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 - name: Fail if required Honoroit settings not defined


+ 9
- 0
roles/custom/matrix-bot-honoroit/templates/env.j2 Просмотреть файл

@@ -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_LOGIN={{ matrix_bot_honoroit_login }}
HONOROIT_PASSWORD={{ matrix_bot_honoroit_password }} HONOROIT_PASSWORD={{ matrix_bot_honoroit_password }}
HONOROIT_HOMESERVER={{ matrix_bot_honoroit_homeserver }} HONOROIT_HOMESERVER={{ matrix_bot_honoroit_homeserver }}


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

@@ -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 %} {% if matrix_bot_honoroit_container_labels_traefik_enabled %}
traefik.enable=true traefik.enable=true




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

@@ -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

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