From c8c3731e058fbb25431fd384f5dac5f8285228dd Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Thu, 31 Oct 2024 09:25:57 +0100 Subject: [PATCH] CI: fix fedora build problems 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 --- share/ansible/roles/ci_run/tasks/fedora.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/ansible/roles/ci_run/tasks/fedora.yml b/share/ansible/roles/ci_run/tasks/fedora.yml index cedeef4d..9a7e0ea4 100644 --- a/share/ansible/roles/ci_run/tasks/fedora.yml +++ b/share/ansible/roles/ci_run/tasks/fedora.yml @@ -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