Added smartctl_exporter for aya01 and fix for grafana
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
9
roles/smart_exporter/tasks/systemd.yml
Normal file
9
roles/smart_exporter/tasks/systemd.yml
Normal 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
|
||||
Reference in New Issue
Block a user