2014-06-04 15:03:58 +00:00
|
|
|
---
|
|
|
|
|
2015-01-07 11:31:53 +00:00
|
|
|
mongodb_package: mongodb-org
|
2015-08-14 20:25:37 +00:00
|
|
|
mongodb_apt_key_url: http://docs.mongodb.org/10gen-gpg-key.asc
|
|
|
|
mongodb_apt_key_id: 7F0CEB10
|
2015-04-06 15:53:40 +00:00
|
|
|
mongodb_force_wait_for_port: false
|
2015-04-06 16:38:52 +00:00
|
|
|
mongodb_pymongo_from_pip: false # Install latest PyMongo via PIP or package manager
|
2015-04-08 17:18:19 +00:00
|
|
|
mongodb_disable_thp: true
|
2014-06-04 15:03:58 +00:00
|
|
|
|
2015-04-06 21:37:34 +00:00
|
|
|
mongodb_manage_service: true
|
2015-04-02 19:48:03 +00:00
|
|
|
|
2014-12-19 14:39:09 +00:00
|
|
|
mongodb_user: mongodb
|
2015-05-09 21:15:49 +00:00
|
|
|
mongodb_uid:
|
|
|
|
mongodb_gid:
|
2015-01-23 09:43:11 +00:00
|
|
|
mongodb_daemon_name: "{{ 'mongod' if ('mongodb-org' in mongodb_package) else 'mongodb' }}"
|
2014-08-25 14:10:18 +00:00
|
|
|
|
2015-02-17 13:16:14 +00:00
|
|
|
mongodb_conf_auth: false # Run with security
|
2014-12-19 14:39:09 +00:00
|
|
|
mongodb_conf_bind_ip: 127.0.0.1 # Comma separated list of ip addresses to listen on
|
2015-02-17 13:16:14 +00:00
|
|
|
mongodb_conf_cpu: true # Periodically show cpu and iowait utilization
|
2014-12-19 14:39:09 +00:00
|
|
|
mongodb_conf_dbpath: /data/db # Directory for datafiles
|
2015-02-17 13:16:14 +00:00
|
|
|
mongodb_conf_fork: false # Fork server process
|
|
|
|
mongodb_conf_httpinterface: false # Enable http interface
|
|
|
|
mongodb_conf_ipv6: false # Enable IPv6 support (disabled by default)
|
|
|
|
mongodb_conf_journal: true # Enable journaling
|
|
|
|
mongodb_conf_logappend: true # Append to logpath instead of over-writing
|
2015-01-05 13:37:28 +00:00
|
|
|
mongodb_conf_logpath: /var/log/mongodb/{{ mongodb_daemon_name }}.log # Log file to send write to instead of stdout
|
2014-12-19 14:39:09 +00:00
|
|
|
mongodb_conf_maxConns: 1000000 # Max number of simultaneous connections
|
2015-02-17 13:16:14 +00:00
|
|
|
mongodb_conf_noprealloc: false # Disable data file preallocation
|
|
|
|
mongodb_conf_smallfiles: false # Disable smallfiles option
|
|
|
|
mongodb_conf_noscripting: false # Disable scripting engine
|
|
|
|
mongodb_conf_notablescan: false # Do not allow table scans
|
2014-12-19 14:39:09 +00:00
|
|
|
mongodb_conf_port: 27017 # Specify port number
|
2015-02-17 13:16:14 +00:00
|
|
|
mongodb_conf_quota: false # Limits each database to a certain number of files
|
2014-12-19 14:39:09 +00:00
|
|
|
mongodb_conf_quotaFiles: 8 # Number of quota files
|
2015-02-17 13:16:14 +00:00
|
|
|
mongodb_conf_syslog: false # Log to system's syslog facility instead of file
|
2014-12-19 14:39:09 +00:00
|
|
|
|
|
|
|
# Replica set options:
|
|
|
|
mongodb_conf_replSet: # Enable replication <setname>[/<optionalseedhostlist>]
|
2015-02-09 12:31:59 +00:00
|
|
|
mongodb_conf_replIndexPrefetch: "all" # specify index prefetching behavior (if secondary) [none|_id_only|all]
|
2015-02-09 12:38:18 +00:00
|
|
|
mongodb_conf_oplogSize: 512 # specifies a maximum size in megabytes for the replication operation log
|
|
|
|
mongodb_conf_keyFile: /etc/mongodb-keyfile # Specify path to keyfile with password for inter-process authentication
|
2014-12-19 14:39:09 +00:00
|
|
|
|
|
|
|
# MMS Agent
|
|
|
|
mongodb_mms_agent_pkg: https://mms.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_1.4.2.783-1_amd64.deb
|
|
|
|
mongodb_mms_group_id: ""
|
|
|
|
mongodb_mms_api_key: ""
|
|
|
|
mongodb_mms_base_url: https://mms.mongodb.com
|
2014-07-10 16:07:35 +00:00
|
|
|
|
|
|
|
# Log rotation
|
2015-02-09 12:31:59 +00:00
|
|
|
mongodb_logrotate: true # Rotate mongodb logs.
|
2014-07-10 16:07:35 +00:00
|
|
|
mongodb_logrotate_options:
|
|
|
|
- compress
|
|
|
|
- copytruncate
|
|
|
|
- daily
|
|
|
|
- dateext
|
|
|
|
- rotate 7
|
|
|
|
- size 10M
|
2015-02-09 12:38:18 +00:00
|
|
|
|
|
|
|
# password for inter-process authentication
|
2015-02-10 07:45:52 +00:00
|
|
|
# please regenerate this file on production environment with command 'openssl rand -base64 741'
|
2015-02-09 12:38:18 +00:00
|
|
|
mongodb_keyfile_content: |
|
|
|
|
8pYcxvCqoe89kcp33KuTtKVf5MoHGEFjTnudrq5BosvWRoIxLowmdjrmUpVfAivh
|
|
|
|
CHjqM6w0zVBytAxH1lW+7teMYe6eDn2S/O/1YlRRiW57bWU3zjliW3VdguJar5i9
|
|
|
|
Z+1a8lI+0S9pWynbv9+Ao0aXFjSJYVxAm/w7DJbVRGcPhsPmExiSBDw8szfQ8PAU
|
|
|
|
2hwRl7nqPZZMMR+uQThg/zV9rOzHJmkqZtsO4UJSilG9euLCYrzW2hdoPuCrEDhu
|
|
|
|
Vsi5+nwAgYR9dP2oWkmGN1dwRe0ixSIM2UzFgpaXZaMOG6VztmFrlVXh8oFDRGM0
|
|
|
|
cGrFHcnGF7oUGfWnI2Cekngk64dHA2qD7WxXPbQ/svn9EfTY5aPw5lXzKA87Ds8p
|
|
|
|
KHVFUYvmA6wVsxb/riGLwc+XZlb6M9gqHn1XSpsnYRjF6UzfRcRR2WyCxLZELaqu
|
|
|
|
iKxLKB5FYqMBH7Sqg3qBCtE53vZ7T1nefq5RFzmykviYP63Uhu/A2EQatrMnaFPl
|
|
|
|
TTG5CaPjob45CBSyMrheYRWKqxdWN93BTgiTW7p0U6RB0/OCUbsVX6IG3I9N8Uqt
|
|
|
|
l8Kc+7aOmtUqFkwo8w30prIOjStMrokxNsuK9KTUiPu2cj7gwYQ574vV3hQvQPAr
|
|
|
|
hhb9ohKr0zoPQt31iTj0FDkJzPepeuzqeq8F51HB56RZKpXdRTfY8G6OaOT68cV5
|
|
|
|
vP1O6T/okFKrl41FQ3CyYN5eRHyRTK99zTytrjoP2EbtIZ18z+bg/angRHYNzbgk
|
|
|
|
lc3jpiGzs1ZWHD0nxOmHCMhU4usEcFbV6FlOxzlwrsEhHkeiununlCsNHatiDgzp
|
|
|
|
ZWLnP/mXKV992/Jhu0Z577DHlh+3JIYx0PceB9yzACJ8MNARHF7QpBkhtuGMGZpF
|
|
|
|
T+c73exupZFxItXs1Bnhe3djgE3MKKyYvxNUIbcTJoe7nhVMrwO/7lBSpVLvC4p3
|
|
|
|
wR700U0LDaGGQpslGtiE56SemgoP
|
2015-02-09 12:39:32 +00:00
|
|
|
|
2015-02-10 07:45:52 +00:00
|
|
|
# names and passwords for administrative users
|
|
|
|
mongodb_user_admin_name: siteUserAdmin
|
2015-02-09 12:39:32 +00:00
|
|
|
mongodb_user_admin_password: passw0rd
|
2015-02-10 07:45:52 +00:00
|
|
|
|
|
|
|
mongodb_root_admin_name: siteRootAdmin
|
2015-02-09 12:39:32 +00:00
|
|
|
mongodb_root_admin_password: passw0rd
|