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
edx
configuration
Commits
bcf730f2
Commit
bcf730f2
authored
Jul 25, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing mixxing forum_mongo_database var definition
parent
8c11b685
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
playbooks/roles/edxlocal/tasks/main.yml
+8
-1
playbooks/roles/forum/vars/main.yml
+1
-0
No files found.
playbooks/roles/edxlocal/tasks/main.yml
View file @
bcf730f2
...
...
@@ -56,12 +56,19 @@
-
name
:
wait for mongo server to start
wait_for
:
port=27017 delay=2
-
name
:
create a mongodb user
-
name
:
create a mongodb user
for studio
mongodb_user
:
>
database=edxapp
name=edxapp
password=password
state=present
-
name
:
create a mongodb user for forums
mongodb_user
:
>
database=forum
name=cs_comments_service
password=password
state=present
-
name
:
install memcached
apt
:
pkg=memcached state=present
playbooks/roles/forum/vars/main.yml
View file @
bcf730f2
...
...
@@ -10,6 +10,7 @@ forum_mongo_user: "cs_comments_service"
forum_mongo_password
:
"
password"
forum_mongo_host
:
"
localhost"
forum_mongo_port
:
"
27010"
forum_mongo_database
:
"
forum"
forum_mongo_url
:
"
mongodb://{{
forum_mongo_user
}}:{{
forum_mongo_password
}}@{{
formum_mongo_host
}}:{{
forum_mongo_port
}}/{{
forum_mongo_database
}}"
forum_rack_env
:
"
development"
forum_sinatra_env
:
"
development"
...
...
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