aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorGravatar jchristgit <[email protected]>2024-05-08 10:18:18 +0200
committerGravatar GitHub <[email protected]>2024-05-08 10:18:18 +0200
commita131791e16de17b24df55473a95b7194a85dafda (patch)
treeb3f3decc55b2b91dccdeb5e45a9eb3a4d2214598 /ansible/roles
parentCorrect scheme configuration for Alertmanager (diff)
Configure Prometheus alerting for failed systemd units (#278)
The two services that I would normally exclude are intentionally not excluded right now to test out the alertmanager setup. If all goes well, we should receive a notification on Discord.
Diffstat (limited to 'ansible/roles')
-rw-r--r--ansible/roles/prometheus/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/prometheus/tasks/main.yml b/ansible/roles/prometheus/tasks/main.yml
index 9333c57..7fd32c4 100644
--- a/ansible/roles/prometheus/tasks/main.yml
+++ b/ansible/roles/prometheus/tasks/main.yml
@@ -37,7 +37,7 @@
copy:
content: |
# Ansible managed
- {{ prometheus_rules | to_nice_yaml }}
+ {{ prometheus_rules }}
dest: /etc/prometheus/rules.yml
owner: prometheus
group: prometheus