--- - name: system upgrade package: name: "*" state: latest - name: autoremove dnf: autoremove: true when: ansible_os_family == "RedHat" - name: fstrim shell: cmd: fstrim -va