File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 29
29
when : (mongodb_package == 'mongodb-org' and
30
30
(mongodb_version is not defined
31
31
or mongodb_repository[mongodb_major_version] is not defined
32
- or (mongodb_version != '3.6' and mongodb_version != '4.0'))
32
+ or (mongodb_version != '3.6' and mongodb_version != '4.0'))
33
33
and (ansible_distribution_release == 'stretch' and ansible_distribution_release == 'jessie'))
34
34
35
35
- name : Fail when used wrong mongodb_version variable with Ubuntu 18.04
36
36
fail :
37
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
- and ansible_distribution_release == "bionic")
38
+ when :
39
+ - mongodb_package == 'mongodb-org'
40
+ - mongodb_version != '4.0'
41
+ - ansible_distribution_release == "bionic"
40
42
41
43
- name : Fail when used wrong mongodb_version variable
42
44
fail :
You can’t perform that action at this time.
0 commit comments