deploy alerta on grafana.hosts.hamburg.ccc.de
All checks were successful
/ Ansible Lint (push) Successful in 2m31s

This commit is contained in:
lilly 2026-04-23 22:36:45 +02:00
commit b10d7d1592
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
8 changed files with 114 additions and 3 deletions

View file

@ -0,0 +1,30 @@
# {{ ansible_managed }}
# https://docs.alerta.io/configuration.html#authentication-settings
DEBUG = True
SECRET_KEY = "{{ secret__alerta_secret_key }}"
BASE_URL = "https://alerta.hamburg.ccc.de"
USE_PROXYFIX = True
AUTH_REQUIRED = True
USER_DEFAULT_SCOPES = ['read', 'write']
OAUTH2_CLIENT_ID = "alerta"
OAUTH2_CLIENT_SECRET = "{{ secret__alerta_oauth_client_secret }}"
# AUTH_PROVIDER = "keycloak"
# KEYCLOAK_URL = "https://id.hamburg.ccc.de"
# KEYCLOAK_REALM = "ccchh"
# ALLOWED_KEYCLOAK_ROLES = "*"
AUTH_PROVIDER = "openid"
OIDC_ISSUER_URL = "https://id.hamburg.ccc.de/realms/ccchh"
OIDC_VERIFY_TOKEN = True
ALLOWED_OIDC_ROLES = "*"
# AUTH_REQUIRED = True
# ADMIN_USERS = ['admin@alerta.io', 'devops@example.com']
# DEFAULT_ADMIN_ROLE = 'ops'
# ADMIN_ROLES = ['ops', 'devops', 'coolkids']
# USER_DEFAULT_SCOPES = ['read', 'write:alerts']
# CUSTOMER_VIEWS = True