File tree Expand file tree Collapse file tree 6 files changed +19
-27
lines changed Expand file tree Collapse file tree 6 files changed +19
-27
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,12 @@ jobs:
31
31
config :
32
32
- image : " alpine"
33
33
tag : " latest"
34
- - image : " amazonlinux"
35
- tag : " 1"
36
34
- image : " amazonlinux"
37
35
tag : " latest"
38
36
- image : " debian"
39
37
tag : " latest"
40
38
- image : " debian"
41
39
tag : " bullseye"
42
- - image : " enterpriselinux"
43
- tag : " 8"
44
40
- image : " enterpriselinux"
45
41
tag : " latest"
46
42
- image : " fedora"
49
45
tag : " latest"
50
46
- image : " fedora"
51
47
tag : " rawhide"
52
- - image : " opensuse"
53
- tag : " latest"
54
48
- image : " ubuntu"
55
49
tag : " latest"
56
50
- image : " ubuntu"
@@ -60,10 +54,19 @@ jobs:
60
54
steps :
61
55
- name : checkout
62
56
uses : actions/checkout@v4
57
+
58
+ - name : Set up Python 3.
59
+ uses : actions/setup-python@v5
63
60
with :
64
- path : " ${{ github.repository }}"
61
+ python-version : ' 3.x'
62
+
63
+ - name : Install dependencies
64
+ run : |
65
+ python -m pip install --upgrade pip
66
+ pip install -r requirements.txt
67
+
65
68
- name : molecule
66
- uses : robertdebock/ molecule[email protected]
67
- with :
69
+ run : molecule converge
70
+ env :
68
71
image : ${{ matrix.config.image }}
69
72
tag : ${{ matrix.config.tag }}
Original file line number Diff line number Diff line change @@ -14,16 +14,12 @@ molecule:
14
14
matrix :
15
15
- image : " alpine"
16
16
tag : " latest"
17
- - image : " amazonlinux"
18
- tag : " 1"
19
17
- image : " amazonlinux"
20
18
tag : " latest"
21
19
- image : " debian"
22
20
tag : " latest"
23
21
- image : " debian"
24
22
tag : " bullseye"
25
- - image : " enterpriselinux"
26
- tag : " 8"
27
23
- image : " enterpriselinux"
28
24
tag : " latest"
29
25
- image : " fedora"
@@ -32,8 +28,6 @@ molecule:
32
28
tag : " latest"
33
29
- image : " fedora"
34
30
tag : " rawhide"
35
- - image : " opensuse"
36
- tag : " latest"
37
31
- image : " ubuntu"
38
32
tag : " latest"
39
33
- image : " ubuntu"
Original file line number Diff line number Diff line change @@ -90,11 +90,10 @@ This role has been tested on these [container images](https://hub.docker.com/u/r
90
90
|container|tags|
91
91
|---------|----|
92
92
|[Alpine](https://hub.docker.com/r/robertdebock/alpine)|all|
93
- |[Amazon](https://hub.docker.com/r/robertdebock/amazonlinux)|all |
93
+ |[Amazon](https://hub.docker.com/r/robertdebock/amazonlinux)|Candidate |
94
94
|[Debian](https://hub.docker.com/r/robertdebock/debian)|all|
95
- |[EL](https://hub.docker.com/r/robertdebock/enterpriselinux)|8, 9|
95
+ |[EL](https://hub.docker.com/r/robertdebock/enterpriselinux)|9|
96
96
|[Fedora](https://hub.docker.com/r/robertdebock/fedora)|all|
97
- |[opensuse](https://hub.docker.com/r/robertdebock/opensuse)|all|
98
97
|[Ubuntu](https://hub.docker.com/r/robertdebock/ubuntu)|all|
99
98
100
99
The minimum version of Ansible required is 2.12, tests have been done to :
Original file line number Diff line number Diff line change @@ -13,20 +13,16 @@ galaxy_info:
13
13
- all
14
14
- name : Amazon
15
15
versions :
16
- - all
16
+ - Candidate
17
17
- name : Debian
18
18
versions :
19
19
- all
20
20
- name : EL
21
21
versions :
22
- - " 8"
23
22
- " 9"
24
23
- name : Fedora
25
24
versions :
26
25
- all
27
- - name : opensuse
28
- versions :
29
- - all
30
26
- name : Ubuntu
31
27
versions :
32
28
- all
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ platforms:
18
18
image : " ${namespace:-robertdebock}/${image:-fedora}:${tag:-latest}"
19
19
command : /sbin/init
20
20
volumes :
21
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
21
+ - /sys/fs/cgroup:/sys/fs/cgroup:rw
22
22
privileged : true
23
23
pre_build_image : true
24
24
provisioner :
Original file line number Diff line number Diff line change 1
- ansible-compat == 4 .*
2
- molecule == 6 .*
1
+ ansible-compat == 24 .*
2
+ molecule == 24 .*
3
3
molecule-plugins [docker ] == 23.*
4
- ansible-lint == 6 .*
4
+ ansible-lint == 24 .*
5
5
paramiko == 3.*
You can’t perform that action at this time.
0 commit comments