[prometheus] reordering

certbot_on_virtu
_shirenn 2021-06-01 17:56:38 +02:00 committed by Yohann D'ANELLO
parent 397ce6dd11
commit b56d260a35
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 13 additions and 12 deletions

13
hosts
View File

@ -18,8 +18,6 @@ tealc.adm.crans.org
tealc.adm.crans.org
gulp.cachan-adm.crans.org
[blackbox]
monitoring.adm.crans.org
[bdd:children]
virtu
@ -29,6 +27,9 @@ belenios.adm.crans.org
[bird]
routeur-gulp.cachan-adm.crans.org
[blackbox]
monitoring.adm.crans.org
[certbot]
charybde.adm.crans.org
sputnik.adm.crans.org
@ -109,10 +110,6 @@ mailman.adm.crans.org
gulp.cachan-adm.crans.org
tealc.adm.crans.org
[prometheus]
monitoring.adm.crans.org
fyre.cachan-adm.crans.org
[mirror_backend]
charybde.adm.crans.org
eclat.adm.crans.org
@ -154,6 +151,10 @@ ovh_physical
[prefix_delegation]
routeur-gulp.cachan-adm.crans.org
[prometheus]
monitoring.adm.crans.org
fyre.cachan-adm.crans.org
[radius]
routeur-gulp.cachan-adm.crans.org

View File

@ -19,12 +19,6 @@
when:
- ansible_lsb.codename == 'bullseye'
- name: Activate prometheus-node-exporter service
systemd:
name: prometheus-node-exporter
enabled: true
state: started
- name: Make Prometheus node-exporter listen on adm only
lineinfile:
path: /etc/default/prometheus-node-exporter
@ -33,6 +27,12 @@
ARGS="--web.listen-address={{ prometheus_node_exporter.listen_addr }}:9100"
tags: restart-node-exporter
- name: Activate prometheus-node-exporter service
systemd:
name: prometheus-node-exporter
enabled: true
state: started
# Install new APT textfile collector, it might be upstreamed one day
# https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/pull/35
- name: Patch APT textfile collector