2020-01-24 16:35:29 +00:00
|
|
|
# MongoDB (/library/dbdata/mongodb) greatly enhances the Sugarizer experience.
|
|
|
|
# The roles/mongodb playbook (was?) invoked by roles/sugarizer/meta/main.yml
|
|
|
|
|
|
|
|
# 2020-01-23: mongodb_install is completely ignored as MongoDB is installed on
|
|
|
|
# demand as a dependency -- by Sugarizer -- but for now we set fake value
|
|
|
|
# 'mongodb_install: True' for 'mongodb_installed is defined' tests e.g. in
|
|
|
|
# 0-init/tasks/validate_vars.yml
|
|
|
|
|
|
|
|
# mongodb_install: True
|
|
|
|
|
|
|
|
# FYI 'mongodb_enabled: False' works when Sugarizer is disabled. Required by
|
|
|
|
# mongodb/tasks/enable.yml to shut down the service and log status, but that is
|
|
|
|
# misleading as Sugarizer starts mongodb's systemd service on its own, due to
|
|
|
|
# 'Requires=mongodb.service' within /etc/systemd/system/sugarizer.service
|
|
|
|
|
2019-01-31 06:12:14 +00:00
|
|
|
# mongodb_enabled: False
|
2019-03-05 18:08:54 +00:00
|
|
|
|
2020-11-03 14:02:48 +00:00
|
|
|
# mongodb_port: 27017
|
2019-01-31 06:12:14 +00:00
|
|
|
|
|
|
|
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
|
|
|
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
2018-07-17 16:45:46 +00:00
|
|
|
|
2022-06-10 03:49:54 +00:00
|
|
|
mongodb_64bit_version: 4.4 # 5.0 also works as of 2022-06-09, but can fail on
|
|
|
|
# "pre-2011" CPU's lacking AVX. VERIFY both X.Y versions exist (+ work!) below:
|
|
|
|
#
|
|
|
|
# 1) https://www.mongodb.org/static/pgp/server-X.Y.asc ~= https://pgp.mongodb.com
|
|
|
|
# 2) http://repo.mongodb.org/apt/debian &/OR https://repo.mongodb.org/apt/ubuntu
|
2022-06-10 02:50:21 +00:00
|
|
|
|
2018-07-17 17:11:14 +00:00
|
|
|
mongodb_conf: /etc/mongod.conf
|
2019-03-05 18:25:41 +00:00
|
|
|
mongodb_db_path: "{{ content_base }}/dbdata/mongodb" # /library/dbdata/mongodb
|
2018-07-23 13:51:11 +00:00
|
|
|
mongodb_db_lock_file: "{{ mongodb_db_path }}/mongod.lock"
|