- name: Update packages using dnf dnf: name: "*" state: latest autoremove: yes