--- - name: Upgrade all packages package: name: "*" state: latest async: 1000 listen: __packages_upgrade when: packages_upgrade_enabled | bool tags: - skip_ansible_later become: True become_user: root - name: Clean metadata cache command: dnf clean metadata listen: __packages_clean_metadata become: True become_user: root