Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
bf173e61
Verified
Commit
bf173e61
authored
Jan 02, 2022
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/common/files/smartd.conf
0 → 100644
View file @
bf173e61
DEVICESCAN
-
s
(
S
/../.././
02
|
L
/../../
6
/
03
)
roles/common/tasks/main.yml
View file @
bf173e61
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment