ansible-role-mongodb/templates/mongod.conf.j2

27 lines
857 B
Plaintext
Raw Normal View History

# {{ ansible_managed }}
2014-06-04 15:03:58 +00:00
auth = {{ mongodb_conf_auth }}
2014-12-11 19:09:31 +00:00
bind_ip = {{ mongodb_conf_bind_ip }}
cpu = {{ mongodb_conf_cpu }}
2014-12-11 19:09:31 +00:00
dbpath = {{ mongodb_conf_dbpath }}
fork = {{ mongodb_conf_fork }}
httpinterface = {{ mongodb_conf_httpinterface }}
ipv6 = {{ mongodb_conf_ipv6 }}
journal = {{ mongodb_conf_journal }}
logappend = {{ mongodb_conf_logappend }}
2014-12-11 19:09:31 +00:00
logpath = {{ mongodb_conf_logpath }}
2014-12-19 14:39:09 +00:00
maxConns = {{ mongodb_conf_maxConns }}
noprealloc = {{ mongodb_conf_noprealloc }}
noscripting = {{ mongodb_conf_noscripting }}
notablescan = {{ mongodb_conf_notablescan }}
2014-12-11 19:09:31 +00:00
port = {{ mongodb_conf_port }}
quota = {{ mongodb_conf_quota }}
2014-12-19 14:39:09 +00:00
quotaFiles = {{ mongodb_conf_quotaFiles }}
syslog = {{ mongodb_conf_syslog }}
2014-12-19 14:39:09 +00:00
{% if mongodb_conf_replSet %}
# Replica set options:
replSet = {{ mongodb_conf_replSet }}
replIndexPrefetch = {{ mongodb_conf_replIndexPrefetch }}
{% endif %}