From 221707d0d41744222778d24203c961f39fc558ba Mon Sep 17 00:00:00 2001 From: Viktor Berke Date: Tue, 3 Dec 2024 18:30:49 +0100 Subject: [PATCH] Really fix Fedora 41! --- tasks/update_el8.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/update_el8.yml b/tasks/update_el8.yml index 6c6ee34..f07f4f9 100644 --- a/tasks/update_el8.yml +++ b/tasks/update_el8.yml @@ -1,9 +1,9 @@ --- - name: Install DNF backend - package: - name: "python3-libdnf{% if ansible_pkg_mgr == 'dnf5' %}5{% endif %}" - state: latest - use: dnf + command: + cmd: "dnf -y install python3-libdnf{% if ansible_pkg_mgr == 'dnf5' %}5{% endif %}" + register: noobient_update_dnf_backend + changed_when: ('Nothing to do' not in noobient_update_dnf_backend.stdout) - name: Update DNF info and all OS packages dnf: