postmoogle: add admins (#2073)

* postmoogle: add admins

* postmoogle: update jija2 defaults

* postmoogle: fix typo
This commit is contained in:
Aine 2022-08-29 15:13:27 +00:00 committed by GitHub
parent 792bff91f8
commit b0eb28721b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -93,6 +93,15 @@ matrix_bot_postmoogle_federation: false
# - @*:another.com # - @*:another.com
matrix_bot_postmoogle_users: [] 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 # Sentry DSN
matrix_bot_postmoogle_sentry: '' matrix_bot_postmoogle_sentry: ''

View file

@ -12,6 +12,7 @@ POSTMOOGLE_LOGLEVEL={{ matrix_bot_postmoogle_loglevel }}
POSTMOOGLE_NOENCRYPTION={{ matrix_bot_postmoogle_noencryption }} POSTMOOGLE_NOENCRYPTION={{ matrix_bot_postmoogle_noencryption }}
POSTMOOGLE_NOOWNER={{ matrix_bot_postmoogle_noowner }} POSTMOOGLE_NOOWNER={{ matrix_bot_postmoogle_noowner }}
POSTMOOGLE_FEDERATION={{ matrix_bot_postmoogle_federation }} 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 }} {{ matrix_bot_postmoogle_environment_variables_extension }}