run fstrim after every docker prune

This commit is contained in:
arya committed 2024-03-06 20:43:39 +05:30
1 parent 2d133af71d
commit 35e5034e68
1 file changed
+6
+6
View File
@@ -8,3 +8,9 @@
images: true
networks: true
timeout: 1000
- hosts: in
tasks:
- name: Run fstrim (IN Node)
ansible.builtin.command: fstrim -av
register: out
changed_when: out.rc != 0