File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 50
50
51
51
- name : mongodb restart
52
52
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
54
54
55
55
- name : Ensure service is started
56
56
service : name={{ mongodb_daemon_name }} state=started
Original file line number Diff line number Diff line change 2
2
3
3
net:
4
4
bindIp: {{ mongodb_net_bindip }}
5
- {% if mongodb_major_version | version_compare ("3.6" , "<" ) -%}
5
+ {% if mongodb_major_version is version_compare ("3.6" , "<" ) -%}
6
6
http:
7
7
enabled: {{ mongodb_net_http_enabled | to_nice_json }}
8
8
{% endif -%}
@@ -39,7 +39,7 @@ security:
39
39
storage:
40
40
dbPath: {{ mongodb_storage_dbpath }}
41
41
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" , ">=" ) -%}
43
43
engine: {{ mongodb_storage_engine }}
44
44
{% endif -%}
45
45
journal:
You can’t perform that action at this time.
0 commit comments