From bc6273b6ed6156dbf893e23a6a09c6033269b775 Mon Sep 17 00:00:00 2001 From: Sergei Antipov Date: Thu, 12 Jul 2018 23:25:18 -0400 Subject: [PATCH] Fix condition --- tasks/install.debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install.debian.yml b/tasks/install.debian.yml index a0a31f8..96e8b83 100644 --- a/tasks/install.debian.yml +++ b/tasks/install.debian.yml @@ -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: