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
ad1cb759
Commit
ad1cb759
authored
Oct 29, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #371 from edx/feanil/update_jenkins_mongo
Update the jenkins worker to use the mongo role.
parents
dc8fe163
342033f3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
18 deletions
+5
-18
playbooks/jenkins_worker.yml
+5
-0
playbooks/roles/jenkins_worker/defaults/main.yml
+0
-1
playbooks/roles/jenkins_worker/tasks/mongo.yml
+0
-6
playbooks/roles/jenkins_worker/templates/mongodb_conf.j2
+0
-11
No files found.
playbooks/jenkins_worker.yml
View file @
ad1cb759
...
...
@@ -6,5 +6,10 @@
hosts
:
jenkins_worker
sudo
:
True
gather_facts
:
True
vars
:
COMMON_DATA_DIR
:
'
/mnt'
COMMON_LOG_DIR
:
'
/mnt/log'
roles
:
-
common
-
mongo
-
jenkins_worker
playbooks/roles/jenkins_worker/defaults/main.yml
View file @
ad1cb759
...
...
@@ -22,7 +22,6 @@ jenkins_debian_pkgs:
-
libgeos-dev
-
libmysqlclient-dev
-
libxslt1-dev
-
mongodb
-
npm
-
pkg-config
-
python2.7
...
...
playbooks/roles/jenkins_worker/tasks/mongo.yml
View file @
ad1cb759
...
...
@@ -5,12 +5,6 @@
-
name
:
jenkins_worker | Stop mongo service
service
:
name=mongodb state=stopped
-
name
:
jenkins_worker | Configure Mongo
template
:
src=mongodb_conf.j2
dest=/etc/mongodb.conf
owner=root
group=root
-
name
:
jenkins_worker | Configure Mongo upstart script
template
:
src=mongodb_upstart.j2
dest=/etc/init/mongodb.conf
...
...
playbooks/roles/jenkins_worker/templates/mongodb_conf.j2
deleted
100644 → 0
View file @
dc8fe163
# mongodb.conf
dbpath={{ mongo_dir }}
logpath={{ mongo_log_dir }}/mongodb.log
logappend=true
bind_ip = 127.0.0.1
port = 27017
journal=true
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