From 513313d60f626e88ca5a6c0f7767d92f11f022bc Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 10 Dec 2023 00:31:21 -0500 Subject: [PATCH] Limit FRR Prom exporter to 12+ Package did not exist on Debian 10/11 --- roles/pvc/tasks/frr/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/pvc/tasks/frr/main.yml b/roles/pvc/tasks/frr/main.yml index 6f1b0bb..90a31e8 100644 --- a/roles/pvc/tasks/frr/main.yml +++ b/roles/pvc/tasks/frr/main.yml @@ -15,7 +15,7 @@ register: apt_res retries: 5 until: apt_res is success - when: enable_prometheus_exporters is defined and enable_prometheus_exporters + when: enable_prometheus_exporters is defined and enable_prometheus_exporters and debian_version|int >= 12 - name: install frr configuration template: