Skip to content

Commit

Permalink
Increased Fedora test version to 41 (#233)
Browse files Browse the repository at this point in the history
Keeping up with the latest release.
  • Loading branch information
freemanjp authored Nov 20, 2024
1 parent d6e14d3 commit fe4573c
Showing 5 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
@@ -34,7 +34,7 @@ Requirements

* Fedora

* 34
* 41

* SUSE Family

2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ galaxy_info:
- '9'
- name: Fedora
versions:
- '34'
- '41'
- name: opensuse
versions:
- 'all'
7 changes: 7 additions & 0 deletions molecule/fedora/converge.yml
Original file line number Diff line number Diff line change
@@ -4,6 +4,13 @@
hosts: all

pre_tasks:
# 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

- name: Install jdk 8
become: true
ansible.builtin.package:
2 changes: 1 addition & 1 deletion molecule/fedora/molecule.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ role_name_check: 2

platforms:
- name: ansible-role-maven-fedora
image: fedora:34
image: fedora:41

provisioner:
name: ansible
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
ansible.builtin.package:
name: which
state: present
when: ansible_pkg_mgr in ('yum', 'dnf', 'zypper')
when: ansible_pkg_mgr in ('yum', 'dnf', 'dnf5', 'zypper')

- name: Create download directory
ansible.builtin.file:
@@ -53,7 +53,7 @@
- unzip
- gzip
state: present
when: ansible_pkg_mgr in ('dnf', 'zypper')
when: ansible_pkg_mgr in ('dnf', 'dnf5', 'zypper')

- name: Install Maven
become: true

0 comments on commit fe4573c

Please sign in to comment.