Enable rocket chat notifications
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5f9097d250
commit
be71d14874
@ -53,11 +53,16 @@ PLUGINS = [
|
||||
"amqp",
|
||||
"blackout",
|
||||
"normalise"
|
||||
"rocketchat",
|
||||
]
|
||||
|
||||
AMQP_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/alerta"
|
||||
AMQP_TOPIC = "notify"
|
||||
|
||||
ROCKETCHAT_WEBHOOK_URL = "{{ rocket_chat_webhook_url }}"
|
||||
ROCKETCHAT_CHANNEL = "{{ rocket_chat_channel }}"
|
||||
DASHBOARD_URL = "https://{{ domain }}"
|
||||
|
||||
DATABASE_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/{{ db_name }}"
|
||||
DATABASE_NAME = "{{ db_name }}"
|
||||
|
||||
|
@ -12,6 +12,7 @@ keycloak_role: "worker-owner"
|
||||
keycloak_url: "https://id.autonomic.zone"
|
||||
mail_from: "alerta-noreply@autonomic.zone"
|
||||
mail_to: "kaboom@autonomic.zone"
|
||||
rocket_chat_channel: "kaboom"
|
||||
smtp_host: "mail.gandi.net"
|
||||
smtp_port: "587"
|
||||
smtp_starttls: "True"
|
||||
|
12
ansible/vars/rocket_chat_webhook_url.yml
Normal file
12
ansible/vars/rocket_chat_webhook_url.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
rocket_chat_webhook_url: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
65346638303735373565363538386636616432323035313863356162363137323532323239316666
|
||||
3731386135653361393734323038356665393164663630390a623632376364633639626338653436
|
||||
31333038313138316233343533613061636462313965663764643530626531313738303461373833
|
||||
3731656362613761350a616465653534643930393637656238643739383436643836306566636234
|
||||
38643236643530623963663331313032396661336264333139356162356537313831373136363665
|
||||
36643331663663353766643135336366613638343932343664616161633638393035386537396334
|
||||
66626164396636396639396562386231646163366333616461376266316463646632316565333164
|
||||
38343431393233633931356537363063383030353965663031633662636533313132393961643730
|
||||
62323266373564633863316261363834303762646662333338383730636162366639
|
Reference in New Issue
Block a user