feat(alertmanager): add ansible role for running alertmanager

This commit is contained in:
2023-07-14 11:29:04 +02:00
parent 97ee8826ba
commit 0b5092f34d
5 changed files with 113 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# `finallycoffee.observability.alertmanager` ansible role
## Description
This role configures and runs prometheus alertmanager in a docker container.
The config file is templated on the host and persisted in `alertmanager_config_file`.
The alertmanager config can be passed by setting `alertmanager_config`, which expects the same yaml
format as the "normal" alertmanager config file (with top-level keys `global`, `route` and `receivers`).