From 5ed8bddb485f947fc5b2e0066afa65c51d33413f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gildas=20Le=20Corguill=C3=A9?= Date: Fri, 13 Oct 2023 10:31:32 +0200 Subject: [PATCH] Remove option mongodb_cloud_monitoring_free_state --- defaults/main.yml | 3 --- templates/mongod.conf.j2 | 4 ---- 2 files changed, 7 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index d73a8ade..bb4a0b05 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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] diff --git a/templates/mongod.conf.j2 b/templates/mongod.conf.j2 index c896d759..dd14e27b 100644 --- a/templates/mongod.conf.j2 +++ b/templates/mongod.conf.j2 @@ -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 }}