ceph-ansible/roles/ceph-prometheus
Dimitri Savineau 5a41026347 monitoring: use config_template module for config
The alertmanager, grafana and prometheus configuration file are
generated with the template module which doesn't allow for using
config overrides.
Instead we could use the config_template plugin action and add a
new variable for overrides (one for each component).

With this patch, one should be able to add configuration to
prometheus with the following:

---
alertmanager_conf_overrides:
  global:
    smtp_smarthost: 'localhost:25'
...

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1902999

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2020-12-12 06:55:27 +01:00
..
files ceph-prometheus: update pool stat counter 2020-09-16 09:50:42 -04:00
handlers docker2podman: manage dashboard nodes 2020-05-13 12:02:00 +02:00
meta lint: fix error [303,602,701,702] 2019-10-15 10:07:52 +02:00
tasks monitoring: use config_template module for config 2020-12-12 06:55:27 +01:00
templates container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00