[prometheus-node-exporter] create override directory

certbot_on_virtu
_shirenn 2021-06-19 01:04:33 +02:00 committed by Yohann D'ANELLO
parent f053558e07
commit b8e0653b3f
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@
ARGS="--web.listen-address={{ prometheus_node_exporter.listen_addr }}:9100"
tags: restart-node-exporter
- name: Create /etc/systemd/system/prometheus-node-exporter.service.d/
file:
path: /etc/systemd/system/prometheus-node-exporter.service.d/
state: directory
- name: Patch prometheus-node-exporter service
template:
src: systemd/system/prometheus-node-exporter.service.d/override.conf.j2