mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
fstrim will quietly skip unsupported drives. Removing the check here allows us to avoid the problem of figuring out if `/dev/sda` is actually the correct device to be looking at.
6 lines
173 B
YAML
6 lines
173 B
YAML
---
|
|
- name: Install hdparm
|
|
pacman: name=hdparm state=present
|
|
|
|
- name: Enable and start weekly filesystem TRIM timer
|
|
service: name=fstrim.timer enabled=yes state=started
|