diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-27 17:48:39 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-12-27 17:48:39 +0200 |
commit | 91279c9972dcb7745e4f3d0e8fe1970ef8901136 (patch) | |
tree | 9e4c5f721a170be38ff37a70afbaca52cc04b880 /ansible/roles/ssd | |
parent | f88d3f7c74e41a3f78b904d5578afd0720498e95 (diff) | |
download | ansibleness-91279c9972dcb7745e4f3d0e8fe1970ef8901136.tar.gz |
add ssd role to e1
Sponsored-by: author
Diffstat (limited to 'ansible/roles/ssd')
-rw-r--r-- | ansible/roles/ssd/tasks/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/ssd/tasks/main.yml b/ansible/roles/ssd/tasks/main.yml new file mode 100644 index 0000000..29de20e --- /dev/null +++ b/ansible/roles/ssd/tasks/main.yml @@ -0,0 +1,11 @@ +- name: "install util-linux for fstrim" + apt: + name: + - util-linux + state: present +- name: "enable fstrim timer" + systemd: + name: fstrim.timer + enabled: yes + state: restarted + |