Add missing step for rules in Prometheus
This commit is contained in:
parent
c07a79dcf2
commit
ab2dd24814
@ -20,6 +20,12 @@
|
||||
notify:
|
||||
- restart prometheus
|
||||
|
||||
- name: Create folder for rules definition
|
||||
ansible.builtin.file:
|
||||
path: /etc/prometheus/rules
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: Add rules configuration
|
||||
tags: alertmanager-rules-configure
|
||||
ansible.builtin.copy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user