--- - name: Upgrade all packages ansible.builtin.package: name: "*" state: latest # noqa package-latest async: 1000 listen: __packages_upgrade when: packages_upgrade_enabled | bool tags: - skip_ansible_later - name: Clean metadata cache ansible.builtin.command: dnf clean metadata changed_when: False listen: __packages_clean_metadata