diff --git a/ansible/roles/mongodb-cluster/templates/mongod.conf.j2 b/ansible/roles/mongodb-cluster/templates/mongod.conf.j2 index c896d7599a..fabdee7da7 100644 --- a/ansible/roles/mongodb-cluster/templates/mongod.conf.j2 +++ b/ansible/roles/mongodb-cluster/templates/mongod.conf.j2 @@ -106,7 +106,7 @@ operationProfiling: {% endfor %} {% endif %} -{% if mongodb_major_version is version("4.0", ">=") -%} +{# {% if mongodb_major_version is version("4.0", ">=") -%} cloud: monitoring: free: @@ -116,7 +116,7 @@ cloud: {{ item }} {% endfor %} {% endif %} -{% endif %} +{% endif %} #} {% if mongodb_set_parameters -%} setParameter: