[ANSIBLE] Automated PR for mongodb-config-migrate-away-from-bitnami_2025-10-01T08-31-12 - #53 #53
@@ -0,0 +1 @@
|
||||
{{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token)['secret']['MONGODB_REPLICA_SET_KEY'] }}
|
||||
@@ -0,0 +1,50 @@
|
||||
# mongod.conf
|
||||
# for documentation of all options, see:
|
||||
# http://docs.mongodb.org/manual/reference/configuration-options/
|
||||
|
||||
# where and how to store data.
|
||||
storage:
|
||||
dbPath: /data/mongodb/dbs
|
||||
directoryPerDB: true
|
||||
|
||||
# where to write logging data.
|
||||
systemLog:
|
||||
destination: file
|
||||
quiet: false
|
||||
logAppend: true
|
||||
logRotate: reopen
|
||||
path: /data/mongodb/logs/mongodb.log
|
||||
verbosity: 1
|
||||
|
||||
# network interfaces
|
||||
net:
|
||||
port: 27017
|
||||
unixDomainSocket:
|
||||
enabled: true
|
||||
pathPrefix: /data/mongodb/tmp
|
||||
ipv6: false
|
||||
bindIpAll: true
|
||||
#bindIp:
|
||||
|
||||
# replica set options
|
||||
replication:
|
||||
replSetName: rinoa
|
||||
enableMajorityReadConcern: true
|
||||
|
||||
# sharding options
|
||||
#sharding:
|
||||
#clusterRole:
|
||||
|
||||
# process management options
|
||||
processManagement:
|
||||
fork: false
|
||||
pidFilePath: /data/mongodb/tmp/mongodb.pid
|
||||
|
||||
# set parameter options
|
||||
setParameter:
|
||||
enableLocalhostAuthBypass: false
|
||||
|
||||
# security options
|
||||
security:
|
||||
authorization: enabled
|
||||
keyFile: /etc/mongodb/keyfile
|
||||
Reference in New Issue
Block a user