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..5971fb7 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -14,6 +14,13 @@ - ansible_facts.distribution_version == '20.04' changed_when: false + # https://github.com/ansible/ansible/issues/84206 + - name: Fedora 41 Workarround + 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