Fix deployment and add prometheus groups for hosts
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
pz2891 2021-04-14 19:51:47 +02:00
parent fde52f2e42
commit 1b0bff4c51
3 changed files with 13 additions and 3 deletions

10
hosts
View file

@ -562,3 +562,13 @@ radius-pacaterie.adm.auro.re
radius-pacaterie-backup.adm.auro.re
radius-rives.adm.auro.re
radius-rives-backup.adm.auro.re
[prometheus]
prometheus-ovh.adm.auro.re
prometheus-aurore.adm.auro.re
prometheus-rives.adm.auro.re
prometheus-gs.adm.auro.re
prometheus-edc.adm.auro.re
prometheus-pacaterie.adm.auro.re
prometheus-fleming.adm.auro.re
prometheus-federate.adm.auro.re

View file

@ -26,14 +26,14 @@
state: directory
owner: prometheus
group: prometheus
mode: 0644
mode: 0755
- name: Remove old files
file:
path: "/etc/prometheus/{{ item }}"
state: absent
with_items:
- alerts.rules.yml
- alert.rules.yml
- django.rules.yml