mongodb oplog property parameterized in conf 3.6
This commit is contained in:
parent
91b925a0e8
commit
f7b220bbeb
|
@ -81,6 +81,7 @@ mongodb_cluster_enabled: False
|
|||
mongodb_authorization_enabled: False
|
||||
mongodb_replicaset: storagedev
|
||||
mongodb_replica_keyfile: '{{ mongodb_dbpath }}/replica_keyfile'
|
||||
mongodb_oplog_size: 2000
|
||||
|
||||
# Prometheus metrics
|
||||
mongodb_prometheus_exporter_enabled: False
|
||||
|
|
|
@ -44,7 +44,7 @@ security:
|
|||
keyFile: {{ mongodb_replica_keyfile }}
|
||||
|
||||
replication:
|
||||
oplogSizeMB: 2000
|
||||
oplogSizeMB: {{ mongodb_oplog_size }}
|
||||
replSetName: {{ mongodb_replicaset }}
|
||||
enableMajorityReadConcern: false
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue