Sfoglia il codice sorgente

postmoogle: add admins

pull/2073/head
Aine 4 anni fa
parent
commit
4185f98f30
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 34969C908CCA2804
2 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. +9
    -0
      roles/matrix-bot-postmoogle/defaults/main.yml
  2. +1
    -0
      roles/matrix-bot-postmoogle/templates/env.j2

+ 9
- 0
roles/matrix-bot-postmoogle/defaults/main.yml Vedi File

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



+ 1
- 0
roles/matrix-bot-postmoogle/templates/env.j2 Vedi File

@@ -13,5 +13,6 @@ 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_ADMINS={{ matrix_bot_postmoogle_users | default('') | join(' ') }}

{{ matrix_bot_postmoogle_environment_variables_extension }}

Caricamento…
Annulla
Salva