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

This commit is contained in:
pz2891 2021-04-12 10:01:39 +02:00
parent 6e376a72e3
commit 1908deee9c
4 changed files with 7 additions and 6 deletions

View File

@ -132,8 +132,8 @@
- 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
prometheus_docker_targets: prometheus_docker_targets:
- docker-ovh.adm.auro.re:8087 - docker-ovh.adm.auro.re:8087
roles: roles:
@ -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
@ -157,7 +157,7 @@
roles: roles:
- prometheus_federate - prometheus_federate
#Postgres Exporters # Postgres Exporters
- hosts: bdd,radius - hosts: bdd,radius
roles: roles:
- prometheus_postgres - prometheus_postgres

View File

@ -24,6 +24,7 @@
file: file:
path: /etc/prometheus/alerts path: /etc/prometheus/alerts
state: directory state: directory
mode: 0644
- name: Remove old files - name: Remove old files
file: file:

View File

@ -35,5 +35,5 @@
systemd: systemd:
name: prometheus-postgres-exporter name: prometheus-postgres-exporter
enabled: true enabled: true
daemon_reload: yes daemon_reload: true
state: started state: started

View File

@ -129,7 +129,7 @@
name: name:
- postgresql - postgresql
- postgresql-client-11=11.7-0+deb10u1 - postgresql-client-11=11.7-0+deb10u1
force: yes force: true
- name: Install postgresql ansible module requirement(s) - name: Install postgresql ansible module requirement(s)
pip: pip: