@@ -8,24 +8,25 @@ mongodb_additional_packages:
8
8
mongodb_user : mongodb
9
9
mongodb_daemon_name : " {{ 'mongod' if ('mongodb-org' in mongodb_package) else 'mongodb' }}"
10
10
11
- mongodb_conf_auth : " no " # Run with security
11
+ mongodb_conf_auth : false # Run with security
12
12
mongodb_conf_bind_ip : 127.0.0.1 # Comma separated list of ip addresses to listen on
13
- mongodb_conf_cpu : " yes " # Periodically show cpu and iowait utilization
13
+ mongodb_conf_cpu : true # Periodically show cpu and iowait utilization
14
14
mongodb_conf_dbpath : /data/db # Directory for datafiles
15
- mongodb_conf_fork : " no " # Fork server process
16
- mongodb_conf_httpinterface : " no " # Enable http interface
17
- mongodb_conf_ipv6 : " no " # Enable IPv6 support (disabled by default)
18
- mongodb_conf_journal : " no " # Enable journaling
19
- mongodb_conf_logappend : " yes " # Append to logpath instead of over-writing
15
+ mongodb_conf_fork : false # Fork server process
16
+ mongodb_conf_httpinterface : false # Enable http interface
17
+ mongodb_conf_ipv6 : false # Enable IPv6 support (disabled by default)
18
+ mongodb_conf_journal : true # Enable journaling
19
+ mongodb_conf_logappend : true # Append to logpath instead of over-writing
20
20
mongodb_conf_logpath : /var/log/mongodb/{{ mongodb_daemon_name }}.log # Log file to send write to instead of stdout
21
21
mongodb_conf_maxConns : 1000000 # Max number of simultaneous connections
22
- mongodb_conf_noprealloc : " no" # Disable data file preallocation
23
- mongodb_conf_noscripting : " no" # Disable scripting engine
24
- mongodb_conf_notablescan : " no" # Do not allow table scans
22
+ mongodb_conf_noprealloc : false # Disable data file preallocation
23
+ mongodb_conf_smallfiles : false # Disable smallfiles option
24
+ mongodb_conf_noscripting : false # Disable scripting engine
25
+ mongodb_conf_notablescan : false # Do not allow table scans
25
26
mongodb_conf_port : 27017 # Specify port number
26
- mongodb_conf_quota : " no " # Limits each database to a certain number of files
27
+ mongodb_conf_quota : false # Limits each database to a certain number of files
27
28
mongodb_conf_quotaFiles : 8 # Number of quota files
28
- mongodb_conf_syslog : " no " # Log to system's syslog facility instead of file
29
+ mongodb_conf_syslog : false # Log to system's syslog facility instead of file
29
30
30
31
# Replica set options:
31
32
mongodb_conf_replSet : # Enable replication <setname>[/<optionalseedhostlist>]
0 commit comments