ansible-prometheus icon indicating copy to clipboard operation
ansible-prometheus copied to clipboard

Updating prometheus_web_config doesn't reload prometheus

Open gaeldb opened this issue 2 years ago • 1 comments

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

gaeldb avatar Jul 22 '22 09:07 gaeldb

I'm pretty sure this is not necessary, Prometheus automatically reloads this file.

SuperQ avatar Jul 22 '22 16:07 SuperQ

This role has been deprecated in favor of a the prometheus-community/ansible collection.

SuperQ avatar Mar 06 '23 15:03 SuperQ