diff options
Diffstat (limited to 'roles/core/base/tasks/Debian.yml')
-rw-r--r-- | roles/core/base/tasks/Debian.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/core/base/tasks/Debian.yml b/roles/core/base/tasks/Debian.yml index 803b0173..2d6bb364 100644 --- a/roles/core/base/tasks/Debian.yml +++ b/roles/core/base/tasks/Debian.yml @@ -141,3 +141,9 @@ - name: apply stability fix/workaround for machines using intel NIC when: base_intel_nic_stability_fix import_tasks: intel-nic.yml + +- name: enable/disable fstrim timer + systemd: + name: fstrim.timer + state: "{{ base_enable_fstrim | ternary('started', 'stopped') }}" + enabled: "{{ base_enable_fstrim }}" |