--- - hosts: all roles: - role: prepare-dnf5 when: ansible_pkg_mgr == "dnf5"