Przeglądaj źródła

postmoogle: add admins (#2073)

* postmoogle: add admins

* postmoogle: update jija2 defaults

* postmoogle: fix typo
pull/2074/head
Aine 3 lat temu
committed by GitHub
rodzic
commit
b0eb28721b
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 11 dodań i 1 usunięć
  1. +9
    -0
      roles/matrix-bot-postmoogle/defaults/main.yml
  2. +2
    -1
      roles/matrix-bot-postmoogle/templates/env.j2

+ 9
- 0
roles/matrix-bot-postmoogle/defaults/main.yml Wyświetl plik

@@ -93,6 +93,15 @@ matrix_bot_postmoogle_federation: false
# - @*:another.com
matrix_bot_postmoogle_users: []

# A list of admins
# Example set of rules:
# - @someone:example.com
# - @another:example.com
# - @bot.*:example.com
# - @*:another.com
matrix_bot_postmoogle_admins:
- "{{ matrix_admin }}"

# Sentry DSN
matrix_bot_postmoogle_sentry: ''



+ 2
- 1
roles/matrix-bot-postmoogle/templates/env.j2 Wyświetl plik

@@ -12,6 +12,7 @@ POSTMOOGLE_LOGLEVEL={{ matrix_bot_postmoogle_loglevel }}
POSTMOOGLE_NOENCRYPTION={{ matrix_bot_postmoogle_noencryption }}
POSTMOOGLE_NOOWNER={{ matrix_bot_postmoogle_noowner }}
POSTMOOGLE_FEDERATION={{ matrix_bot_postmoogle_federation }}
POSTMOOGLE_USERS={{ matrix_bot_postmoogle_users | default('') | join(' ') }}
POSTMOOGLE_USERS={{ matrix_bot_postmoogle_users | join(' ') }}
POSTMOOGLE_ADMINS={{ matrix_bot_postmoogle_admins | join(' ') }}

{{ matrix_bot_postmoogle_environment_variables_extension }}

Ładowanie…
Anuluj
Zapisz