From 32669e1fb1b6a8a6dee6430a8d8cbc6922392c16 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Sat, 6 Mar 2021 00:44:22 +0100 Subject: [PATCH] Don't load Django rules prometheus-federate --- roles/prometheus_federate/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/prometheus_federate/tasks/main.yml b/roles/prometheus_federate/tasks/main.yml index 33feb90..f168f1f 100644 --- a/roles/prometheus_federate/tasks/main.yml +++ b/roles/prometheus_federate/tasks/main.yml @@ -23,12 +23,11 @@ notify: Restart Prometheus loop: - alert.rules.yml - - django.rules.yml # We don't need to restart Prometheus when updating nodes - name: Configure Prometheus Federate devices copy: - content: "{{ [{'targets': prometheus_targets }] | to_nice_json }}" + content: "{{ [{'targets': prometheus_targets }] | to_nice_json }}" dest: /etc/prometheus/targets.json mode: 0644 when: prometheus_targets is defined @@ -44,3 +43,4 @@ src: update-motd.d/05-service.j2 dest: /etc/update-motd.d/05-prometheus mode: 0755 +...