From 46063246a2517a73343c90d6010311240a8c7706 Mon Sep 17 00:00:00 2001 From: Rasmus Wejlgaard Date: Sat, 28 Mar 2026 13:17:42 +0000 Subject: [PATCH] fix last 3 yaml lint failures - add missing --- to notification-policy.yml - prometheus.yml: replace commented-out template defaults with empty lists --- .../grafana/provisioning/alerting/notification-policy.yml | 1 + ansible/services/prometheus/prometheus.yml | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ansible/services/grafana/provisioning/alerting/notification-policy.yml b/ansible/services/grafana/provisioning/alerting/notification-policy.yml index 9b4a6d4..0ef3d8e 100644 --- a/ansible/services/grafana/provisioning/alerting/notification-policy.yml +++ b/ansible/services/grafana/provisioning/alerting/notification-policy.yml @@ -1,3 +1,4 @@ +--- apiVersion: 1 # Notification routing policy. diff --git a/ansible/services/prometheus/prometheus.yml b/ansible/services/prometheus/prometheus.yml index a42df80..e85a017 100644 --- a/ansible/services/prometheus/prometheus.yml +++ b/ansible/services/prometheus/prometheus.yml @@ -11,12 +11,9 @@ global: alerting: alertmanagers: - static_configs: - - targets: - # - alertmanager:9093 + - targets: [] -rule_files: - # - "first_rules.yml" - # - "second_rules.yml" +rule_files: [] scrape_configs: - job_name: "prometheus"