File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
DISTRIBUTION=ubuntu
17
17
DIST_VERSION=18_04-builded
18
18
MONGODB_VERSION=3.6
19
- MONGODB_PACKAGE=mongodb-org
19
+ MONGODB_PACKAGE=mongodb
20
20
- >
21
21
DISTRIBUTION=ubuntu
22
22
DIST_VERSION=16_04-builded
Original file line number Diff line number Diff line change 34
34
35
35
- name : Fail when used wrong mongodb_version variable with Ubuntu 18.04
36
36
fail :
37
- msg : " mongodb_version variable should be '3.6' or ' 4.0' and mongodb_package should be 'mongodb-org ' for Ubuntu 18.04"
38
- when : (( mongodb_package != 'mongodb-org' or (mongodb_version != '3.6' and mongodb_version != '4.0') )
37
+ msg : " mongodb_version variable should be '4.0' or else mongodb_package should be 'mongodb' for Ubuntu 18.04"
38
+ when : (mongodb_package == 'mongodb-org' and mongodb_version != '4.0')
39
39
and ansible_distribution_release == "bionic")
40
40
41
41
- name : Fail when used wrong mongodb_version variable
You can’t perform that action at this time.
0 commit comments