File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 15
15
matrix :
16
16
molecule_distro :
17
17
- debian9
18
+ - debian10
18
19
mongodb_version :
19
20
- ' 4.2'
20
21
- ' 4.0'
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ provisioner:
36
36
log : true
37
37
playbooks :
38
38
converge : ${MOLECULE_PLAYBOOK:-../default/converge.yml}
39
+ prepare : ${MOLECULE_PLAYBOOK:-../default/prepare.yml}
39
40
env :
40
41
MONGODB_VERSION : ${MONGODB_VERSION:-4.2}
41
42
MONGODB_PACKAGE : ${MONGODB_PACKAGE:-mongodb-org}
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ provisioner:
23
23
log : true
24
24
playbooks :
25
25
converge : ${MOLECULE_PLAYBOOK:-converge.yml}
26
+ prepare : ${MOLECULE_PLAYBOOK:-prepare.yml}
26
27
env :
27
28
MONGODB_VERSION : ${MONGODB_VERSION:-4.2}
28
29
MONGODB_PACKAGE : ${MONGODB_PACKAGE:-mongodb-org}
Original file line number Diff line number Diff line change
1
+ ---
2
+ - hosts : all
3
+ remote_user : root
4
+ become : yes
5
+ tasks :
6
+ - name : Install prerequisite packages for molecule testing for Debian/Ubuntu >= 18
7
+ apt :
8
+ update_cache : true
9
+ name :
10
+ - gpg
11
+ - dirmngr
12
+ when : (ansible_distribution == 'Ubuntu' and ansible_distribution_major_version | int >= 18) or ansible_distribution == 'Debian'
13
+
14
+
You can’t perform that action at this time.
0 commit comments