Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ mongodb_systemlog_path: /var/log/mongodb/{{ mongodb_daemon_name }}.log # Log f
mongodb_operation_profiling_slow_op_threshold_ms: 100
mongodb_operation_profiling_mode: "off"

## cloud options (MongoDB >= 4.0)
mongodb_cloud_monitoring_free_state: "runtime"

## replication Options
mongodb_replication_replset: "" # Enable replication
mongodb_replication_replindexprefetch: "all" # specify index prefetching behavior (if secondary) [none|_id_only|all]
Expand Down
4 changes: 0 additions & 4 deletions templates/mongod.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ operationProfiling:
{% endif %}

{% if mongodb_major_version is version("4.0", ">=") -%}
cloud:
monitoring:
free:
state: {{ mongodb_cloud_monitoring_free_state }}
{%- if mongodb_config['cloud'] is defined and mongodb_config['cloud'] is iterable %}
{%- for item in mongodb_config['cloud'] -%}
{{ item }}
Expand Down