Fix condition

This commit is contained in:
Sergei Antipov 2018-07-12 23:25:18 -04:00
parent 6cf617c771
commit bc6273b6ed
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
when: (mongodb_package == 'mongodb-org' and when: (mongodb_package == 'mongodb-org' and
(mongodb_version is not defined (mongodb_version is not defined
or mongodb_repository[mongodb_major_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 - name: Fail when used wrong mongodb_version variable
fail: fail: