Added smartctl_exporter for aya01 and fix for grafana

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-05-25 12:00:24 +02:00
parent eab5ff37cf
commit 0a361d9804
11 changed files with 117 additions and 18 deletions

View File

@@ -0,0 +1,9 @@
---
- name: Ensure smart_exporter is running and enabled at boot.
service:
daemon_reload: true
name: smart_exporter
state: restarted
enabled: true
when: smart_exporter_service is changed
become: true