Explorar el Código

postmoogle: add admins (#2073)

* postmoogle: add admins

* postmoogle: update jija2 defaults

* postmoogle: fix typo
pull/2074/head
Aine hace 3 años
committed by GitHub
padre
commit
b0eb28721b
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 2 ficheros con 11 adiciones y 1 borrados
  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 Ver fichero

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




+ 2
- 1
roles/matrix-bot-postmoogle/templates/env.j2 Ver fichero

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

Cargando…
Cancelar
Guardar