File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : CI
3
- on :
3
+ ' on ' :
4
4
pull_request :
5
5
push :
6
6
branches :
56
56
57
57
- name : Install test dependencies.
58
58
run : |
59
- pip3 install -U ansible molecule-podman yamllint ansible-lint
59
+ pip3 install -U pip ansible>=2.9.0 molecule-plugins[ podman] yamllint ansible-lint
60
60
ansible-galaxy collection install containers.podman:>=1.10.1 # otherwise get https://github.com/containers/ansible-podman-collections/issues/428
61
61
62
62
- name : Display ansible version
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ platforms:
7
7
pre_build_image : true
8
8
groups :
9
9
- testohpc_login
10
- command : /sbin/init
10
+ command : " {{ container_init_command }} "
11
11
tmpfs :
12
12
- /run
13
13
- /tmp
@@ -19,7 +19,7 @@ platforms:
19
19
pre_build_image : true
20
20
groups :
21
21
- testohpc_compute
22
- command : /sbin/init
22
+ command : " {{ container_init_command }} "
23
23
tmpfs :
24
24
- /run
25
25
- /tmp
@@ -31,7 +31,7 @@ platforms:
31
31
pre_build_image : true
32
32
groups :
33
33
- testohpc_compute
34
- command : /sbin/init
34
+ command : " {{ container_init_command }} "
35
35
tmpfs :
36
36
- /run
37
37
- /tmp
@@ -40,5 +40,9 @@ platforms:
40
40
network : net1
41
41
provisioner :
42
42
name : ansible
43
+ inventory :
44
+ group_vars :
45
+ all :
46
+ container_init_command : ' dnf -y install systemd && /sbin/init' # not in RL9 image
43
47
verifier :
44
48
name : ansible
You can’t perform that action at this time.
0 commit comments