Déploiement du node-exporter sur presques tout les serveurs
parent
e2b4f78cbf
commit
2bb99d370f
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
# Playbook for the prometheus nodes
|
||||
- host: all, !prometheus.adm.crans.org
|
||||
roles:
|
||||
- node-prometheus
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
|
||||
- name: Install Prometheus node-exporter
|
||||
apt:
|
||||
update_cache: true
|
||||
name: prometheus-node-exporter
|
||||
register: apt_result
|
||||
retries: 3
|
||||
until: apt_result is succeeded
|
Loading…
Reference in New Issue