Skip to content
Snippets Groups Projects
Commit 167e0589 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

basic-system: fstrim cronjob

parent 69bf86dc
No related branches found
No related tags found
No related merge requests found
Pipeline #3728 passed
#!/bin/sh
set -e
if command -v fstrim >/dev/null; then
fstrim -a
fi
...@@ -54,6 +54,16 @@ ...@@ -54,6 +54,16 @@
tags: tags:
- etckeeper - etckeeper
- name: Configure fstrim cronjob
copy:
src: fstrim
dest: /etc/cron.daily/fstrim
owner: root
group: root
mode: '0755'
tags:
- fstrim
- include: logging.yml - include: logging.yml
- meta: flush_handlers - meta: flush_handlers
- include: network.yml - include: network.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment