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

This commit is contained in:
pz2891 2021-04-11 22:01:21 +02:00
parent 764f0f106d
commit 6c64bb214c
2 changed files with 4 additions and 4 deletions

View File

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

View File

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