Fix condition
This commit is contained in:
parent
6cf617c771
commit
bc6273b6ed
|
@ -23,7 +23,7 @@
|
|||
when: (mongodb_package == 'mongodb-org' and
|
||||
(mongodb_version is not defined
|
||||
or mongodb_repository[mongodb_major_version] is not defined
|
||||
or mongodb_version != "3.6"))
|
||||
or mongodb_version != "3.6") and ansible_distribution_release == "stretch")
|
||||
|
||||
- name: Fail when used wrong mongodb_version variable
|
||||
fail:
|
||||
|
|
Loading…
Reference in New Issue