ceph-ansible/roles/ceph-defaults
Dimitri Savineau 4695df6d2b 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>

(cherry picked from commit 5a41026347)
2021-07-26 17:47:51 +02:00
..
defaults monitoring: use config_template module for config 2021-07-26 17:47:51 +02:00
meta allow using ansible 2.8 2019-04-17 18:14:58 +02:00
tasks introduce new role ceph-facts 2018-12-12 11:18:01 +01:00
vars osd: use default crush rule name when needed 2020-03-31 19:42:40 -04:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-defaults

Documentation is available at http://docs.ceph.com/ceph-ansible/.