Skip to content

Commit e51595a

Browse files
committed
Add support for Noble
1 parent 5582687 commit e51595a

File tree

5 files changed

+25
-21
lines changed

5 files changed

+25
-21
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
- distro: debian10
4848
- distro: debian11
4949
- distro: debian12
50-
- distro: ubuntu1604
51-
ansible-version: '>=2.10, <2.11'
52-
- distro: ubuntu1604
5350
- distro: ubuntu1804
51+
ansible-version: '>=9, <10'
5452
- distro: ubuntu2004
53+
- distro: ubuntu2204
54+
- distro: ubuntu2404
5555

5656
steps:
5757
- name: Check out the codebase
@@ -65,8 +65,8 @@ jobs:
6565
python-version: '3.x'
6666

6767
- name: Install test dependencies
68-
run: pip install 'ansible${{ matrix.ansible-version }}' molecule-plugins[docker] docker
69-
68+
run: |
69+
pip install 'ansible${{ matrix.ansible-version }}' molecule-plugins[docker] docker
7070
- name: Run Molecule tests
7171
run: |
7272
molecule test

Vagrantfile

+16-9
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44
role = File.basename(File.expand_path(File.dirname(__FILE__)))
55

66
boxes = [
7-
{
8-
:name => "ubuntu-1604",
9-
:box => "bento/ubuntu-16.04",
10-
:ip => '10.0.0.12',
11-
:cpu => "50",
12-
:ram => "256"
13-
},
147
{
158
:name => "ubuntu-1804",
169
:box => "bento/ubuntu-18.04",
@@ -23,7 +16,21 @@ boxes = [
2316
:box => "bento/ubuntu-20.04",
2417
:ip => '10.0.0.14',
2518
:cpu => "50",
26-
:ram => "384"
19+
:ram => "512"
20+
},
21+
{
22+
:name => "ubuntu-2204",
23+
:box => "bento/ubuntu-22.04",
24+
:ip => '10.0.0.15',
25+
:cpu => "50",
26+
:ram => "512"
27+
},
28+
{
29+
:name => "ubuntu-2404",
30+
:box => "bento/ubuntu-24.04",
31+
:ip => '10.0.0.16',
32+
:cpu => "50",
33+
:ram => "512"
2734
},
2835
{
2936
:name => "debian-10",
@@ -44,7 +51,7 @@ boxes = [
4451
:box => "bento/debian-12",
4552
:ip => '10.0.0.20',
4653
:cpu => "50",
47-
:ram => "256"
54+
:ram => "384"
4855
},
4956
]
5057

meta/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ galaxy_info:
1010
platforms:
1111
- name: Ubuntu
1212
versions:
13-
- xenial
1413
- bionic
1514
- focal
15+
- jammy
16+
- noble
1617
- name: Debian
1718
versions:
1819
- buster

molecule/default/collections.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
---
2-
collections:
3-
- name: community.docker
4-
version: '>=1.2.0,<2'
5-
- name: community.general
6-
version: '>=2,<3'
2+
collections: []

molecule/default/molecule.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ driver:
55
name: docker
66
platforms:
77
- name: instance
8-
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu1604}-ansible:latest"
8+
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest"
99
command: ${MOLECULE_DOCKER_COMMAND:-""}
1010
volumes:
1111
- /sys/fs/cgroup:/sys/fs/cgroup:rw

0 commit comments

Comments
 (0)