run fstrim after every docker prune

This commit is contained in:
Arya 2024-03-03 10:07:13 +05:30
parent 2d133af71d
commit 35e5034e68
Signed by: arya
GPG Key ID: 842D12BDA50DF120
1 changed files with 6 additions and 0 deletions

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