991bdc5f55
In a deployment where Prometheus is enabled and Alertmanager is disabled the task "Copying over prometheus config file" in 'ansible/roles/prometheus/tasks/config.yml' will fail to template the Prometheus configuration file 'ansible/roles/prometheus/templates/prometheus.yml.j2' as the variable 'prometheus_alert_rules' does not contain the key 'files'. This commit fixes this bug. Change-Id: Idbe1e52dd3693a6f168d475f9230a253dae64480 Closes-Bug: #1854540
9 lines
407 B
YAML
9 lines
407 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes templating of Prometheus configuration when Alertmanager is disabled.
|
|
In a deployment where Prometheus is enabled and Alertmanager is disabled the
|
|
configuration for the Prometheus will fail when templating as the variable
|
|
`prometheus_alert_rules` does not contain the key `files`. For details
|
|
please see <https://bugs.launchpad.net/kolla-ansible/+bug/1854540>`__.
|