2015-10-13 13:51:19 +02:00
|
|
|
---
|
|
|
|
mongodb_install_from_external_repo: True
|
|
|
|
mongodb_install_packages: True
|
|
|
|
mongodb_install_conf: True
|
2015-11-19 18:10:24 +01:00
|
|
|
# Set to 'latest' if you want to get the latest available package
|
|
|
|
mongodb_pkg_state: installed
|
2015-10-13 13:51:19 +02:00
|
|
|
mongodb_start_server: 'no'
|
|
|
|
mongodb_tcp_port: 27017
|
|
|
|
mongodb_http_interface: False
|
|
|
|
mongodb_http_port: 28017
|
|
|
|
mongodb_user: mongodb
|
|
|
|
mongodb_group: mongodb
|
|
|
|
mongodb_logdir: /var/log/mongodb
|
2016-03-24 15:41:14 +01:00
|
|
|
mongodb_log_file: mongod.log
|
2015-10-13 13:51:19 +02:00
|
|
|
mongodb_logpath: '{{ mongodb_logdir }}/{{ mongodb_log_file }}'
|
|
|
|
mongodb_dbpath: /var/lib/mongodb
|
|
|
|
mongodb_log_retain_days: 7
|
|
|
|
mongodb_directoryperdb: False
|
2016-03-24 15:41:14 +01:00
|
|
|
mongodb_conf_file: /etc/mongod.conf
|
|
|
|
mongodb_daemon: /usr/bin/mongod
|
2016-04-19 19:08:41 +02:00
|
|
|
# --setParameter newCollectionsUsePowerOf2Sizes=false is useful if there are disk space constraints.
|
2016-03-24 15:41:14 +01:00
|
|
|
mongod_additional_options: ""
|
2015-10-13 13:51:19 +02:00
|
|
|
mongodb_allowed_hosts:
|
|
|
|
- 127.0.0.1/8
|
|
|
|
- '{{ ansible_default_ipv4.address }}/32'
|
|
|
|
|
|
|
|
mongodb_cluster_enabled: False
|
|
|
|
mongodb_replicaset: storagedev
|
2015-11-19 18:10:24 +01:00
|
|
|
mongodb_replica_keyfile: '{{ mongodb_dbpath }}/replica_keyfile'
|