feat(node_exporter): initial role for node_exporter on host
This commit is contained in:
parent
aa2fe2ddc6
commit
5c98a76889
5 changed files with 114 additions and 0 deletions
6
roles/node_exporter/handlers/main.yml
Normal file
6
roles/node_exporter/handlers/main.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: Restart Node Exporter
|
||||
ansible.builtin.systemd_service:
|
||||
name: prometheus-node-exporter
|
||||
state: restarted
|
||||
become: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue