mongodb: Initial version of role

This commit is contained in:
Timo Makinen 2022-02-03 21:19:31 +00:00
parent c7e0822900
commit 2cefd6d50d
5 changed files with 144 additions and 0 deletions

View file

@ -0,0 +1,23 @@
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log
storage:
dbPath: /srv/mongodb
journal:
enabled: true
processManagement:
fork: true
pidFilePath: /var/run/mongodb/mongod.pid
timeZoneInfo: /usr/share/zoneinfo
net:
port: 27017
bindIpAll: true
tls:
mode: requireTLS
certificateKeyFile: /etc/pki/tls/private/mongodb.pem
CAFile: {{ tls_certs }}/ca.crt