Add missing step for rules in Prometheus

This commit is contained in:
Vincent F. 2025-01-09 21:15:12 +01:00
parent c07a79dcf2
commit ab2dd24814

View File

@ -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: