ansible-prometheus
ansible-prometheus copied to clipboard
Updating prometheus_web_config doesn't reload prometheus
What happened?
When adding/updating the parameter prometheus_web_config
, prometheus is not reloaded and new parameters are not applied.
Did you expect to see some different?
prometheus_web_config
updated should notify a reload
How to reproduce it (as minimally and precisely as possible):
---
- hosts: all
roles:
- cloudalchemy.prometheus
vars:
prometheus_targets:
node:
- targets:
- localhost:9100
- demo.cloudalchemy.org:9100
labels:
env: demosite
prometheus_web_config:
basic_auth_users:
prometheus: 'XXXXXXX'
Update XXXXX and run again
Environment
-
Role version:
commit 1440ae7db7d
-
Variables:
prometheus_web_config
I'm pretty sure this is not necessary, Prometheus automatically reloads this file.
This role has been deprecated in favor of a the prometheus-community/ansible collection.