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
c02bc1d6
Commit
c02bc1d6
authored
Oct 22, 2013
by
Carson Gee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bad YAML and locked db to specific variable configured version
parent
d7e8e982
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
playbooks/roles/mongo/defaults/main.yml
+1
-0
playbooks/roles/mongo/tasks/main.yml
+5
-5
No files found.
playbooks/roles/mongo/defaults/main.yml
View file @
c02bc1d6
mongo_dbpath
:
/var/lib/mongodb
mongo_logpath
:
/var/log/mongodb/mongodb.log
mongo_logappend
:
true
mongo_version
:
2.4.7
mongo_bind_ip
:
127.0.0.1
mongo_extra_conf
:
'
'
...
...
playbooks/roles/mongo/tasks/main.yml
View file @
c02bc1d6
...
...
@@ -21,7 +21,7 @@
-
name
:
mongo | install mongo server and recommends
apt
:
>
pkg=mongodb-10gen
pkg=mongodb-10gen
={{ mongo_version }}
state=present
install_recommends=yes
update_cache=yes
...
...
@@ -53,9 +53,9 @@
-
name
:
mongo | create a mongodb user
mongodb_user
:
>
database={{ database }}
name={{ user }}
password={{ password }}
database={{
item.
database }}
name={{
item.
user }}
password={{
item.
password }}
state=present
with_items
:
{{
MONGO_USERS
}}
with_items
:
MONGO_USERS
tags
:
mongo
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