Skip to content

Commit bc6273b

Browse files
committed
Fix condition
1 parent 6cf617c commit bc6273b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/install.debian.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
when: (mongodb_package == 'mongodb-org' and
2424
(mongodb_version is not defined
2525
or mongodb_repository[mongodb_major_version] is not defined
26-
or mongodb_version != "3.6"))
26+
or mongodb_version != "3.6") and ansible_distribution_release == "stretch")
2727

2828
- name: Fail when used wrong mongodb_version variable
2929
fail:

0 commit comments

Comments
 (0)