Moving prometheus targets to group_vars
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-10-05 17:35:23 -04:00
parent 83790d5b73
commit 3d8bdafd28
2 changed files with 6 additions and 7 deletions
+2 -6
View File
@@ -16,15 +16,11 @@
- job_name: "prometheus"
metrics_path: "/metrics"
static_configs:
- targets:
- "localhost:9090"
- targets: "{{ prometheus_prometheus_targets }}"
- job_name: "node_exporter"
metrics_path: "/metrics"
static_configs:
- targets:
- "localhost:9100"
- "10.7.10.96:9100"
- "10.7.10.97:9100"
- targets: "{{ prometheus_node_exporter_targets }}"
roles:
- role: prometheus.prometheus.prometheus