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