Bläddra i källkod

postmoogle: add admins (#2073)

* postmoogle: add admins

* postmoogle: update jija2 defaults

* postmoogle: fix typo
pull/2074/head
Aine 3 år sedan
committed by GitHub
förälder
incheckning
b0eb28721b
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 4AEE18F83AFDEB23
2 ändrade filer med 11 tillägg och 1 borttagningar
  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 Visa fil

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

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

Laddar…
Avbryt
Spara