spark/roles/ssd/tasks/main.yml
Pig Monkey f21dc955de always enable periodic TRIM
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.
2021-10-21 18:24:42 -07:00

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