fix CI
continuous-integration/drone/push Build is failing Details

pull/53/head
pz2891 3 years ago
parent 764f0f106d
commit 6c64bb214c

@ -130,7 +130,7 @@
# Prometheus targets.json
prometheus_targets:
- targets: |
{{ groups['ovh_pve'] + groups['ovh_vm'] | list | sort }}
{{ groups['ovh_pve'] + groups['ovh_vm'] | list | sort }}
prometheus_postgres_targets:
- targets:
- bdd-ovh.adm.auro.re
@ -145,7 +145,7 @@
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
# Prometheus targets.json
#Prometheus targets.json
prometheus_targets:
- prometheus-edc.adm.auro.re
- prometheus-gs.adm.auro.re

@ -20,12 +20,12 @@
- prometheus.yml
notify: Restart Prometheus
- name: Creates directory for alerts
- name: Creates directory for alerts
file:
path: /etc/prometheus/alerts
state: directory
- name: Remove old files
- name: Remove old files
file:
path: "/etc/prometheus/{{ item }}"
state: absent

Loading…
Cancel
Save