mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
16
roles/mongodb_server/templates/mongod.conf.j2
Normal file
16
roles/mongodb_server/templates/mongod.conf.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
systemLog:
|
||||
destination: syslog
|
||||
processManagement:
|
||||
fork: true
|
||||
pidFilePath: /var/run/mongodb/mongod.pid
|
||||
net:
|
||||
port: {{ mongo_port }}
|
||||
bindIp: 0.0.0.0
|
||||
bindIpAll: true
|
||||
unixDomainSocket:
|
||||
pathPrefix: /var/run/mongodb
|
||||
security:
|
||||
authorization: {{ mongo_auth | ternary('enabled','disabled') }}
|
||||
storage:
|
||||
dbPath: {{ mongo_db_path }}
|
||||
|
Reference in New Issue
Block a user