Skip to content

Commit

Permalink
Increased Fedora test version to 41 (#390)
Browse files Browse the repository at this point in the history
Keeping up with the latest release.
  • Loading branch information
freemanjp authored Nov 16, 2024
1 parent 3a3c43c commit 2bdb912
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Requirements

* Fedora

* 40
* 41

* SUSE Family

Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ galaxy_info:
- bookworm
- name: Fedora
versions:
- '40'
- '41'
- name: opensuse
versions:
- all
Expand Down
11 changes: 9 additions & 2 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion molecule/fedora/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ role_name_check: 2

platforms:
- name: ansible-role-golang-fedora
image: fedora:40
image: fedora:41

provisioner:
name: ansible
Expand Down

0 comments on commit 2bdb912

Please sign in to comment.