Skip to content

Commit 70ae07a

Browse files
author
vagrant
committed
Deprecation test as filters resolved
1 parent e292e44 commit 70ae07a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tasks/configure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
- name: mongodb restart
5252
service: name={{ mongodb_daemon_name }} state=restarted
53-
when: config_result|changed and mongodb_manage_service
53+
when: config_result is is changed and mongodb_manage_service
5454

5555
- name: Ensure service is started
5656
service: name={{ mongodb_daemon_name }} state=started

templates/mongod.conf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
net:
44
bindIp: {{ mongodb_net_bindip }}
5-
{% if mongodb_major_version | version_compare("3.6", "<") -%}
5+
{% if mongodb_major_version is version_compare("3.6", "<") -%}
66
http:
77
enabled: {{ mongodb_net_http_enabled | to_nice_json }}
88
{% endif -%}
@@ -39,7 +39,7 @@ security:
3939
storage:
4040
dbPath: {{ mongodb_storage_dbpath }}
4141
directoryPerDB: {{ mongodb_storage_dirperdb | to_nice_json }}
42-
{% if mongodb_major_version | version_compare("3.0", ">=") -%}
42+
{% if mongodb_major_version is version_compare("3.0", ">=") -%}
4343
engine: {{ mongodb_storage_engine }}
4444
{% endif -%}
4545
journal:

0 commit comments

Comments
 (0)