2017-04-19 10:58:48 +02:00
|
|
|
# mongod.conf - {{ ansible_managed }}
|
|
|
|
|
|
|
|
# for documentation of all options, see:
|
|
|
|
# http://docs.mongodb.org/manual/reference/configuration-options/
|
|
|
|
|
|
|
|
# Where and how to store data.
|
|
|
|
storage:
|
|
|
|
dbPath: /var/lib/mongodb
|
|
|
|
journal:
|
|
|
|
enabled: true
|
|
|
|
# engine:
|
|
|
|
# mmapv1:
|
|
|
|
# wiredTiger:
|
|
|
|
|
|
|
|
# where to write logging data.
|
|
|
|
systemLog:
|
|
|
|
destination: file
|
|
|
|
logRotate: reopen
|
|
|
|
logAppend: true
|
2017-12-07 15:58:39 +01:00
|
|
|
path: /var/log/mongodb/mongod.log
|
2017-04-19 10:58:48 +02:00
|
|
|
|
|
|
|
# network interfaces
|
|
|
|
net:
|
2017-04-19 11:28:15 +02:00
|
|
|
port: {{ mongodb_port }}
|
|
|
|
bindIp: {{ mongodb_bind }}
|
2017-04-19 10:58:48 +02:00
|
|
|
|
|
|
|
processManagement:
|
2017-12-07 15:58:39 +01:00
|
|
|
pidFilePath: /var/lib/mongodb/mongod.lock
|
2017-04-19 10:58:48 +02:00
|
|
|
|
|
|
|
#security:
|
|
|
|
|
|
|
|
#operationProfiling:
|
|
|
|
|
|
|
|
#replication:
|
|
|
|
|
|
|
|
#sharding:
|
|
|
|
|
|
|
|
## Enterprise-Only Options:
|
|
|
|
|
|
|
|
#auditLog:
|
|
|
|
|
|
|
|
#snmp:
|