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 |
||
---|---|---|
.. | ||
clouds.yml.j2 | ||
my.cnf.j2 | ||
prometheus-alertmanager.json.j2 | ||
prometheus-alertmanager.yml.j2 | ||
prometheus-blackbox-exporter.json.j2 | ||
prometheus-blackbox-exporter.yml.j2 | ||
prometheus-cadvisor.json.j2 | ||
prometheus-elasticsearch-exporter.json.j2 | ||
prometheus-haproxy-exporter.json.j2 | ||
prometheus-memcached-exporter.json.j2 | ||
prometheus-mysqld-exporter.json.j2 | ||
prometheus-node-exporter.json.j2 | ||
prometheus-openstack-exporter.json.j2 | ||
prometheus-server.json.j2 | ||
prometheus.yml.j2 |