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-rives.adm.auro.re
- prometheus-aurore.adm.auro.re - prometheus-aurore.adm.auro.re
- prometheus-ovh.adm.auro.re - prometheus-ovh.adm.auro.re
update_motd:
prometheus_federate: >-
Prometheus (en configuration fédération) est déployé (/etc/prometheus).
roles: roles:
- prometheus_federate - prometheus_federate
- update_motd
# Postgres Exporters # Postgres Exporters
- hosts: bdd,radius - hosts: bdd,radius

View file

@ -42,14 +42,4 @@
name: prometheus name: prometheus
enabled: true enabled: true
state: started 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)
... ...