]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
CI: fix fedora build problems
authorIker Pedrosa <ipedrosa@redhat.com>
Thu, 31 Oct 2024 08:25:57 +0000 (09:25 +0100)
committerSerge Hallyn <serge@hallyn.com>
Thu, 31 Oct 2024 14:52:54 +0000 (09:52 -0500)
The new fedora 41 has been released and some things have changed. Make
sure to install python and python3-dnf and specify the dnf version in
the roles.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
share/ansible/roles/ci_run/tasks/fedora.yml

index cedeef4d1fc6f3a7ddd2aa88528558a9ad4d4ab5..9a7e0ea4e510dce818f919df97b16ee914511523 100644 (file)
@@ -1,7 +1,11 @@
 ---
 # tasks file for ci_run
+- name: Ensure python is installed
+  ansible.builtin.raw: dnf install -y python3 python3-dnf
+
 - name: Ensure dependencies are installed
   ansible.builtin.dnf:
+    use_backend: dnf4
     name:
       - dnf-plugins-core
       - libcmocka-devel