Bladeren bron

Add license information to files for matrix-bridge-postmoogle

Refer fd39392ec5 as well

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4123/head
Suguru Hirahara 1 jaar geleden
bovenliggende
commit
52cf117e8b
Geen bekende sleutel gevonden voor deze handtekening in de database GPG sleutel-ID: E4F9743DAB4B7B75
8 gewijzigde bestanden met toevoegingen van 57 en 0 verwijderingen
  1. +9
    -0
      docs/configuring-playbook-bridge-postmoogle.md
  2. +8
    -0
      roles/custom/matrix-bridge-postmoogle/defaults/main.yml
  3. +6
    -0
      roles/custom/matrix-bridge-postmoogle/tasks/main.yml
  4. +8
    -0
      roles/custom/matrix-bridge-postmoogle/tasks/setup_install.yml
  5. +7
    -0
      roles/custom/matrix-bridge-postmoogle/tasks/setup_uninstall.yml
  6. +6
    -0
      roles/custom/matrix-bridge-postmoogle/tasks/validate_config.yml
  7. +8
    -0
      roles/custom/matrix-bridge-postmoogle/templates/env.j2
  8. +5
    -0
      roles/custom/matrix-bridge-postmoogle/templates/systemd/matrix-postmoogle.service.j2.license

+ 9
- 0
docs/configuring-playbook-bridge-postmoogle.md Bestand weergeven

@@ -1,3 +1,12 @@
<!--
SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
SPDX-FileCopyrightText: 2022 Nikita Chernyi
SPDX-FileCopyrightText: 2023 Luke D Iremadze
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara

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

# Setting up Postmoogle email bridging (optional)

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


+ 8
- 0
roles/custom/matrix-bridge-postmoogle/defaults/main.yml Bestand weergeven

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

---
# postmoogle is an email to Matrix bridge using its bot user
# Project source code URL: https://github.com/etkecc/postmoogle


+ 6
- 0
roles/custom/matrix-bridge-postmoogle/tasks/main.yml Bestand weergeven

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

---

- tags:


+ 8
- 0
roles/custom/matrix-bridge-postmoogle/tasks/setup_install.yml Bestand weergeven

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

---

# Check and remove the legacy systemd service (`matrix-bot-postmoogle.service`).


+ 7
- 0
roles/custom/matrix-bridge-postmoogle/tasks/setup_uninstall.yml Bestand weergeven

@@ -1,3 +1,10 @@
# SPDX-FileCopyrightText: 2022 Nikita Chernyi
# SPDX-FileCopyrightText: 2022 Sebastian Gumprich
# SPDX-FileCopyrightText: 2022 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Check existence of matrix-postmoogle service


+ 6
- 0
roles/custom/matrix-bridge-postmoogle/tasks/validate_config.yml Bestand weergeven

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

---

- name: Fail if required Postmoogle settings not defined


+ 8
- 0
roles/custom/matrix-bridge-postmoogle/templates/env.j2 Bestand weergeven

@@ -1,3 +1,11 @@
{#
SPDX-FileCopyrightText: 2022 - 2023 Nikita Chernyi
SPDX-FileCopyrightText: 2022 Slavi Pantaleev
SPDX-FileCopyrightText: 2024 Suguru Hirahara

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

POSTMOOGLE_LOGIN={{ matrix_postmoogle_login }}
POSTMOOGLE_PASSWORD={{ matrix_postmoogle_password }}
POSTMOOGLE_SHAREDSECRET={{ matrix_postmoogle_sharedsecret }}


+ 5
- 0
roles/custom/matrix-bridge-postmoogle/templates/systemd/matrix-postmoogle.service.j2.license Bestand weergeven

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

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

Laden…
Annuleren
Opslaan