fix(base_system): correctly check for the dnf

‹dnf5› presents itself as ‹dnf5›

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-12-22 20:27:33 +01:00
parent 7d8d187e97
commit ab83e7c30c
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8

View file

@ -10,7 +10,7 @@
ansible.builtin.dnf:
name: "*"
state: latest
when: ansible_facts.pkg_mgr == "dnf"
when: ansible_facts.pkg_mgr.startswith("dnf")
- name: Upgrade all packages with zypper
community.general.zypper: