Skip to content

Commit

Permalink
Remove option mongodb_cloud_monitoring_free_state
Browse files Browse the repository at this point in the history
  • Loading branch information
lecorguille authored Oct 13, 2023
1 parent b2bb33d commit 5ed8bdd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
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

0 comments on commit 5ed8bdd

Please sign in to comment.