From b0b6790fe72d271d9c5fd2e78f92bbd67a28b515 Mon Sep 17 00:00:00 2001 From: heryheming <90235788+heryheming@users.noreply.github.com> Date: Fri, 22 Nov 2024 18:37:00 +0700 Subject: [PATCH] fix: enable no log while create user with replicaset --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index dc9f0e4..c207954 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -80,7 +80,7 @@ when: ( mongodb_replication_replset and mongodb_security_authorization == 'enabled' and mongodb_master is defined and mongodb_master ) - no_log: false + no_log: true tags: [mongodb] - name: create normal users without replicaset