3ae0063944
Change-Id: Ia6ac371845d1f2b545406d096b35a6d5f68be5f6 Implements: blueprint ansible-mongodb
16 lines
345 B
Django/Jinja
16 lines
345 B
Django/Jinja
# mongodb.conf
|
|
|
|
# Where to store the data.
|
|
dbpath = /var/lib/mongodb
|
|
|
|
# where to log
|
|
logpath = /var/log/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
|