Verified Commit bf173e61 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

common: configure smartd to run self tests

Run a self test every day at 02:00/03:00 and a long tests every
saturday.
parent bf5a1653
DEVICESCAN -s (S/../.././02|L/../../6/03)
......@@ -31,6 +31,10 @@
pacman: name=smartmontools state=present
when: "'hcloud' not in group_names"
- name: configure smartd to do periodic health checks
copy: src=smartd.conf dest=/etc/smartd.conf owner=root group=root mode=0644
when: "'hcloud' not in group_names"
- name: start and enable smart
service: name=smartd enabled=yes state=started
when: "'hcloud' not in group_names"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment