ansible-collection-prometheus/roles/prometheus/templates/ansible_managed.yml.j2
dpavle b8e4f31779 enhancement(prometheus): fully commit to the yaml rule format
Signed-off-by: dpavle <17710777+dpavle@users.noreply.github.com>
2024-04-18 12:34:06 +02:00

6 lines
176 B
Django/Jinja

{{ ansible_managed | comment }}
groups:
- name: ansible managed alert rules
rules:
{{ prometheus_alert_rules | to_nice_yaml(indent=2,sort_keys=False) | indent(2,False) }}