prometheus-federate: call update_motd role in play

This commit is contained in:
Alexandre Iooss 2021-11-27 19:16:11 +01:00
parent 82fdcd026e
commit ea394a01db
2 changed files with 4 additions and 10 deletions

View file

@ -172,8 +172,12 @@
- prometheus-rives.adm.auro.re
- prometheus-aurore.adm.auro.re
- prometheus-ovh.adm.auro.re
update_motd:
prometheus_federate: >-
Prometheus (en configuration fédération) est déployé (/etc/prometheus).
roles:
- prometheus_federate
- update_motd
# Postgres Exporters
- hosts: bdd,radius

View file

@ -42,14 +42,4 @@
name: prometheus
enabled: true
state: started
- name: Configure MOTD
include_role:
name: update_motd
vars:
motd_messages:
- key: 05-prometheus-federate
message: >-
Prometheus (en configuration fédération) est déployé sur cette
machine (voir /etc/prometheus)
...