File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,11 @@ mongodb_replication_replset: # Enable replication <setname>
87
87
mongodb_replication_replindexprefetch : " all" # specify index prefetching behavior (if secondary) [none|_id_only|all]
88
88
mongodb_replication_oplogsize : 1024 # specifies a maximum size in megabytes for the replication operation log
89
89
90
+ # # setParameter options
91
+ # Configure setParameter option.
92
+ # Example :
93
+ mongodb_set_parameters : { "enableLocalhostAuthBypass": "true", "authenticationMechanisms": "SCRAM-SHA-1,MONGODB-CR" }
94
+
90
95
# MMS Agent
91
96
mongodb_mms_agent_pkg : https://mms.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_1.4.2.783-1_amd64.deb
92
97
mongodb_mms_group_id : " "
Original file line number Diff line number Diff line change @@ -97,3 +97,6 @@ mongodb_root_admin_password: passw0rd
97
97
98
98
mongodb_root_backup_name : " backupuser"
99
99
mongodb_root_backup_password : " passw0rd"
100
+
101
+ # setParameter config
102
+ mongodb_set_parameters :
Original file line number Diff line number Diff line change @@ -55,3 +55,10 @@ systemLog:
55
55
destination: {{ mongodb_systemlog_destination }}
56
56
logAppend: {{ mongodb_systemlog_logappend | to_nice_json }}
57
57
path: {{ mongodb_systemlog_path }}
58
+
59
+ {% if mongodb_set_parameters -%}
60
+ setParameter:
61
+ {% for key , value in mongodb_set_parameters .items () -%}
62
+ {{ key }}: {{ value }}
63
+ {% endfor -%}
64
+ {% endif %}
You can’t perform that action at this time.
0 commit comments