File tree Expand file tree Collapse file tree 6 files changed +38
-33
lines changed Expand file tree Collapse file tree 6 files changed +38
-33
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ jobs:
4444 fail-fast : false
4545 matrix :
4646 include :
47- - distro : debian8
48- - distro : debian9
4947 - distro : debian10
50- - distro : ubuntu1604
51- ansible-version : ' >=2.10, <2.11'
52- - distro : ubuntu1604
48+ - distro : debian11
49+ - distro : debian12
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
6565 python-version : ' 3.x'
6666
6767 - name : Install test dependencies
68- run : pip install 'ansible${{ matrix.ansible-version }}' molecule[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
Original file line number Diff line number Diff line change 44role = File . basename ( File . expand_path ( File . dirname ( __FILE__ ) ) )
55
66boxes = [
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,21 +16,21 @@ boxes = [
2316 :box => "bento/ubuntu-20.04" ,
2417 :ip => '10.0.0.14' ,
2518 :cpu => "50" ,
26- :ram => "384 "
19+ :ram => "512 "
2720 } ,
2821 {
29- :name => "debian-8 " ,
30- :box => "bento/debian-8 " ,
31- :ip => '10.0.0.16 ' ,
22+ :name => "ubuntu-2204 " ,
23+ :box => "bento/ubuntu-22.04 " ,
24+ :ip => '10.0.0.15 ' ,
3225 :cpu => "50" ,
33- :ram => "256 "
26+ :ram => "512 "
3427 } ,
3528 {
36- :name => "debian-9 " ,
37- :box => "bento/debian-9 " ,
38- :ip => '10.0.0.17 ' ,
29+ :name => "ubuntu-2404 " ,
30+ :box => "bento/ubuntu-24.04 " ,
31+ :ip => '10.0.0.16 ' ,
3932 :cpu => "50" ,
40- :ram => "256 "
33+ :ram => "512 "
4134 } ,
4235 {
4336 :name => "debian-10" ,
@@ -46,6 +39,20 @@ boxes = [
4639 :cpu => "50" ,
4740 :ram => "256"
4841 } ,
42+ {
43+ :name => "debian-11" ,
44+ :box => "bento/debian-11" ,
45+ :ip => '10.0.0.19' ,
46+ :cpu => "50" ,
47+ :ram => "256"
48+ } ,
49+ {
50+ :name => "debian-12" ,
51+ :box => "bento/debian-12" ,
52+ :ip => '10.0.0.20' ,
53+ :cpu => "50" ,
54+ :ram => "384"
55+ } ,
4956]
5057
5158Vagrant . configure ( "2" ) do |config |
Original file line number Diff line number Diff line change @@ -10,14 +10,15 @@ galaxy_info:
1010 platforms :
1111 - name : Ubuntu
1212 versions :
13- - xenial
1413 - bionic
1514 - focal
15+ - jammy
16+ - noble
1617 - name : Debian
1718 versions :
18- - jessie
19- - stretch
2019 - buster
20+ - bullseye
21+ - bookworm
2122 galaxy_tags :
2223 - system
2324 - packaging
Original file line number Diff line number Diff line change 11---
2- collections :
3- - name : community.docker
4- version : ' >=1.2.0,<2'
5- - name : community.general
6- version : ' >=2,<3'
2+ collections : []
Original file line number Diff line number Diff line change 55 name : docker
66platforms :
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
Original file line number Diff line number Diff line change 1212 - apt-file
1313 - apt-file-install
1414
15- - name : run apt-file update (once)
15+ - name : run apt-file update (once) # noqa no-changed-when
1616 ansible.builtin.shell : >
1717 {{ apt_file_update_job }}
1818 when : _result is changed
19+ changed_when : true
1920 tags :
2021 - configuration
2122 - apt-file
You can’t perform that action at this time.
0 commit comments