From 60951ee052182a4bde7ce3606527e81f22c42e43 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Sat, 16 Nov 2024 07:49:10 +0000 Subject: [PATCH] Increased Fedora test version to 41 Keeping up with the latest release. --- README.md | 2 +- meta/main.yml | 2 +- molecule/default/converge.yml | 11 +++++++++-- molecule/fedora/molecule.yml | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2120633..90ca7ff 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Requirements * Fedora - * 40 + * 41 * SUSE Family diff --git a/meta/main.yml b/meta/main.yml index ae31d7f..b7f8b85 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -20,7 +20,7 @@ galaxy_info: - bookworm - name: Fedora versions: - - '40' + - '41' - name: opensuse versions: - all diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index 2a737e2..984069a 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -4,7 +4,7 @@ hosts: all pre_tasks: - # Workarround broken CA certerficates hash on Ubuntu 20.04 arm32 + # Workaround broken CA certerficates hash on Ubuntu 20.04 arm32 - name: Rehash certificate become: true ansible.builtin.command: c_rehash @@ -14,6 +14,13 @@ - ansible_facts.distribution_version == '20.04' changed_when: false + # Workaround for Fedora 41 https://github.com/ansible/ansible/issues/84206 + - name: Install python3-libdnf5 + become: true + ansible.builtin.command: dnf install -y python3-libdnf5 + when: ansible_facts.pkg_mgr == 'dnf5' + changed_when: false + roles: - role: ansible-role-golang golang_gopath: '$HOME/workspace-go' @@ -23,7 +30,7 @@ ansible.builtin.package: name: which state: present - when: ansible_facts.pkg_mgr in ('yum', 'dnf', 'zypper') + when: ansible_facts.pkg_mgr in ('yum', 'dnf', 'dnf5', 'zypper') # provides /etc/profile - name: Install aaa_base (zypper) diff --git a/molecule/fedora/molecule.yml b/molecule/fedora/molecule.yml index 66e73c0..d027c1a 100644 --- a/molecule/fedora/molecule.yml +++ b/molecule/fedora/molecule.yml @@ -9,7 +9,7 @@ role_name_check: 2 platforms: - name: ansible-role-golang-fedora - image: fedora:40 + image: fedora:41 provisioner: name: ansible