ansible-role-mongodb/defaults/main.yml

42 lines
772 B
YAML
Raw Normal View History

2014-06-04 15:03:58 +00:00
---
mongodb_enabled: yes
mongodb_packages:
- python-selinux
- python-pymongo
2014-07-30 17:32:46 +00:00
- mongodb-org
2014-06-04 15:03:58 +00:00
mongodb_conf:
dbpath: /var/lib/mongodb/
logpath: /var/log/mongodb/mongod.log
logappend: "true"
port: 27017
bind_ip: 127.0.0.1
nojournal: "true"
# auth: "true"
noauth: "true"
cpu: "true"
verbose: "true"
vvvv: "true"
quota: "false"
auth: "false"
objcheck: "false"
# diaglog: 0 # deprecated
nohints: "false"
nohttpinterface: "false"
noscripting: "false"
notablescan: "false"
noprealloc: "false"
# replSet: "" # Set for enable replication
2014-07-10 16:07:35 +00:00
# Log rotation
mongodb_logrotate: yes # Rotate mongodb logs.
mongodb_logrotate_options:
- compress
- copytruncate
- daily
- dateext
- rotate 7
- size 10M