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:
parent
7d8d187e97
commit
ab83e7c30c
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue