Skip to content

Commit 9b72a07

Browse files
committed
Update tasks and tests for Ubuntu 24.04
Change-Id: I0e406434cd07a0ba87b2698d02bdbca287002977 Signed-off-by: Eric Ball <[email protected]>
1 parent 26728c6 commit 9b72a07

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

molecule/default/molecule.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ platforms:
1616
image: ubuntu:20.04
1717
- name: ubuntu2204
1818
image: ubuntu:22.04
19+
- name: ubuntu2404
20+
image: ubuntu:24.04
1921
provisioner:
2022
name: ansible
2123
# Fix for role path finding in latest molecule versions (~25.4.0)

tasks/Debian.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
become: true
4949
when:
5050
- ansible_os_family == "Debian"
51-
- ansible_distribution_major_version == "13" or ansible_distribution_version == "20.04" or
52-
ansible_distribution_version == "22.04"
51+
- ansible_distribution_major_version == "13" or ansible_distribution_version >= "20.04"
5352

5453
- name: Set Java path for OpenJDK 11 (non-arm)
5554
ansible.builtin.set_fact:

0 commit comments

Comments
 (0)