Add prometheus role
Configured to include job definitions from /etc/prometheus/conf.d/*.yml.
This commit is contained in:
parent
f33a0b8a21
commit
d347fd7215
4 changed files with 31 additions and 0 deletions
5
roles/prometheus/handlers/main.yml
Normal file
5
roles/prometheus/handlers/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- name: reload prometheus
|
||||
service:
|
||||
name: prometheus
|
||||
state: reloaded
|
||||
when: "'handler' not in ansible_skip_tags"
|
Loading…
Add table
Add a link
Reference in a new issue