Add prometheus node exporter

This commit is contained in:
uumas
2023-03-21 01:40:51 +02:00
parent 4f3f9e0fa3
commit 00551183e4
5 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
---
- name: Install prometheus node exporter
apt:
name: prometheus-node-exporter
- name: Set prometheus options in /etc/default/prometheus-node-exporter
template:
src: templates/prometheus-node-exporter.j2
dest: /etc/default/prometheus-node-exporter
mode: 0644
notify: restart prometheus-node-exporter