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
35219863
Commit
35219863
authored
Jan 06, 2017
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix booleans so Mongo only listens on localhost
(cherry picked from commit
54741894
)
parent
09fd0368
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/mongo/defaults/main.yml
+1
-1
playbooks/roles/mongo/templates/mongodb.conf.j2
+1
-1
playbooks/roles/mongo_3_0/defaults/main.yml
+1
-1
playbooks/roles/mongo_3_0/templates/mongod.conf.j2
+1
-1
No files found.
playbooks/roles/mongo/defaults/main.yml
View file @
35219863
...
...
@@ -29,7 +29,7 @@ MONGO_USERS:
database
:
edxapp
roles
:
readWrite
MONGO_CLUSTERED
:
!!null
MONGO_CLUSTERED
:
false
MONGO_BIND_IP
:
127.0.0.1
##
...
...
playbooks/roles/mongo/templates/mongodb.conf.j2
View file @
35219863
...
...
@@ -12,7 +12,7 @@ logappend={{ mongo_logappend }}
{# Bind to all ips(default) if in clustered mode,
otherwise only to the specified local ip.
#}
{% if
MONGO_CLUSTERED is not defined
%}
{% if
not MONGO_CLUSTERED
%}
bind_ip = {{ MONGO_BIND_IP }}
{% endif %}
...
...
playbooks/roles/mongo_3_0/defaults/main.yml
View file @
35219863
...
...
@@ -39,7 +39,7 @@ MONGO_USERS:
database
:
edxapp
roles
:
readWrite
MONGO_CLUSTERED
:
!!null
MONGO_CLUSTERED
:
false
MONGO_BIND_IP
:
127.0.0.1
MONGO_REPL_SET
:
"
rs0"
...
...
playbooks/roles/mongo_3_0/templates/mongod.conf.j2
View file @
35219863
...
...
@@ -38,7 +38,7 @@ security:
{% endif %}
net:
{% if
MONGO_CLUSTERED is not defined
%}
{% if
not MONGO_CLUSTERED
%}
{# Bind to all ips(default) if in clustered mode,
otherwise only to the specified local ip. #}
bindIp: {{ MONGO_BIND_IP }}
...
...
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