Commit ac4b3d39 by Will Daly

Disabled mongo journaling for devstack and Jenkins

parent 903e8644
......@@ -6,6 +6,8 @@
hosts: jenkins_worker
sudo: True
gather_facts: True
vars:
mongo_enable_journal: False
roles:
- common
- edxlocal
......
......@@ -35,3 +35,7 @@ mongo_create_users: !!null
# cloudformation stack, this group name can used to pull out
# the name of the stack the mongo server resides in.
mongo_aws_stack_name: "tag_aws_cloudformation_stack-name_"
# In environments that do not require durability (devstack / Jenkins)
# you can disable the journal to reduce disk usage
mongo_enable_journal: True
......@@ -19,7 +19,12 @@ bind_ip = {{ MONGO_BIND_IP }}
port = {{ mongo_port }}
# Enable journaling, http://www.mongodb.org/display/DOCS/Journaling
{% if mongo_enable_journal %}
journal=true
{% else %}
journal=false
nojournal=true
{% endif %}
{% if MONGO_CLUSTERED %}
keyFile = {{ mongo_key_file }}
......
......@@ -7,6 +7,7 @@
openid_workaround: True
devstack: True
edx_platform_commit: 'master'
mongo_enable_journal: False
vars_files:
- "group_vars/all"
roles:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment