mongodb oplog property parameterized in conf 3.6

This commit is contained in:
Roberto Cirillo 2023-09-27 14:39:20 +02:00
parent 91b925a0e8
commit f7b220bbeb
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -44,7 +44,7 @@ security:
keyFile: {{ mongodb_replica_keyfile }}
replication:
oplogSizeMB: 2000
oplogSizeMB: {{ mongodb_oplog_size }}
replSetName: {{ mongodb_replicaset }}
enableMajorityReadConcern: false
{% endif %}