kolla-ansible/ansible/roles/mongodb/templates/mongodb.conf.j2
Hui Kang ef24d9e597 Set mongodb log file to shared volume by heka
TrivialFix

Change-Id: I085ef2884749bb4ecc546b78052a5688e8b36ad3
2016-03-04 11:04:23 -05:00

16 lines
351 B
Django/Jinja

# mongodb.conf
# Where to store the data.
dbpath = /var/lib/mongodb
# where to log
logpath = /var/log/kolla/mongodb/mongodb.log
logappend = true
bind_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
port = {{ mongodb_port }}
# Enable journaling, http://www.mongodb.org/display/DOCS/Journaling
journal = true