Add CLI api key and fix localhost URLs
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
299837ae36
commit
3b57b335f9
@ -1,12 +1,13 @@
|
||||
[DEFAULT]
|
||||
endpoint = https://{{ domain }}/api
|
||||
endpoint = http://localhost:8080/api
|
||||
key = {{ alerta_cli_api_key }}
|
||||
output = psql
|
||||
sslverify = no
|
||||
timezone = Europe/London
|
||||
|
||||
[alerta-mailer]
|
||||
amqp_url = mongodb://0.0.0.0:27017/
|
||||
dashboard_url = http://{{ domain }}
|
||||
dashboard_url = http://localhost:8080
|
||||
debug = true
|
||||
email_type = text
|
||||
key = {{ alerta_mailer_api_key }}
|
||||
|
9
ansible/vars/alerta_cli_api_key.yml
Normal file
9
ansible/vars/alerta_cli_api_key.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
alerta_cli_api_key: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
30623065663233623665666462623566623461333132366630363030353836646538623032366566
|
||||
3236656234633364633133373731646231363261633134630a346135336132393232333031376237
|
||||
38316162363134303764656261613837663766666633386363303039663631643537373731386533
|
||||
3139313262363935370a623839386233363661303463383230366565666434626465363436303063
|
||||
35653331643632313661616138623230656562643863656338396135326564336236613365633336
|
||||
6332313536663936393130353862313230343164306233353462
|
Reference in New Issue
Block a user