Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
3ecbdbc5
Commit
3ecbdbc5
authored
Nov 01, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be able to override the mongo bind ip.
parent
63f45026
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
playbooks/roles/mongo/defaults/main.yml
+1
-1
playbooks/roles/mongo/templates/mongodb.conf.j2
+1
-1
No files found.
playbooks/roles/mongo/defaults/main.yml
View file @
3ecbdbc5
mongo_logappend
:
true
mongo_version
:
2.4.7
mongo_bind_ip
:
127.0.0.1
mongo_port
:
"
27017"
mongo_extra_conf
:
'
'
mongo_key_file
:
'
/etc/mongodb_key'
...
...
@@ -21,6 +20,7 @@ MONGO_USERS:
database
:
edxapp
MONGO_CLUSTERED
:
!!null
MONGO_BIND_IP
:
127.0.0.1
##
...
...
playbooks/roles/mongo/templates/mongodb.conf.j2
View file @
3ecbdbc5
...
...
@@ -13,7 +13,7 @@ logappend={{ mongo_logappend }}
otherwise only to the specified local ip.
#}
{% if mongo_clustered is not defined %}
bind_ip = {{
mongo_bind_ip
}}
bind_ip = {{
MONGO_BIND_IP
}}
{% endif %}
port = {{ mongo_port }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment