From 2fbb5b9d46047a331b33419cf163c0597efbcaf7 Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Fri, 27 Dec 2024 20:39:33 -0600 Subject: [PATCH] Fedora 41 Signed-off-by: Jason Rothstein --- tasks/Fedora-41-default.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/Fedora-41-default.yml b/tasks/Fedora-41-default.yml index bc84ee0..2cfe625 100644 --- a/tasks/Fedora-41-default.yml +++ b/tasks/Fedora-41-default.yml @@ -13,14 +13,15 @@ - name: 'ensure packages' when: - ansible_system == 'Linux' - - ensure_ansible_prereq is defined ansible.builtin.package: name: '{{ item.name }}' state: '{{ item.state }}' use: 'dnf' loop: - - 'python3-rpm' - - 'python3-libdnf5' + - name: 'python3-rpm' + state: 'present' + - name: 'python3-libdnf5' + state: 'present' loop_control: label: '{{ item.name }} will be {{ item.state }}' notify: