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
07753c21
Commit
07753c21
authored
Jul 24, 2017
by
Hannah Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mongo to system packages for tools-jenkins
parent
932f5f69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
playbooks/roles/tools_jenkins/defaults/main.yml
+9
-0
playbooks/roles/tools_jenkins/tasks/main.yml
+29
-0
No files found.
playbooks/roles/tools_jenkins/defaults/main.yml
View file @
07753c21
...
@@ -78,3 +78,12 @@ jenkins_tools_debian_pkgs:
...
@@ -78,3 +78,12 @@ jenkins_tools_debian_pkgs:
-
psmisc
-
psmisc
-
mysql-client-core-5.6
-
mysql-client-core-5.6
-
ruby-sass
-
ruby-sass
MONGODB_APT_KEY
:
"
7F0CEB10"
MONGODB_APT_KEYSERVER
:
"
keyserver.ubuntu.com"
MONGODB_REPO
:
"
deb
http://repo.mongodb.org/apt/ubuntu
xenial/mongodb-org/3.2
multiverse"
mongo_version
:
3.2.12
mongodb_debian_pkgs
:
-
"
mongodb-org-shell={{
mongo_version
}}"
-
"
mongodb-org-tools={{
mongo_version
}}"
playbooks/roles/tools_jenkins/tasks/main.yml
View file @
07753c21
...
@@ -19,3 +19,32 @@
...
@@ -19,3 +19,32 @@
tags
:
tags
:
-
install
-
install
-
install:system-requirements
-
install:system-requirements
-
name
:
add the mongodb signing key
apt_key
:
id
:
"
{{
MONGODB_APT_KEY
}}"
keyserver
:
"
{{
MONGODB_APT_KEYSERVER
}}"
state
:
present
tags
:
-
install
-
install:system-requirements
-
name
:
add the mongodb repo to the sources list
apt_repository
:
repo
:
"
{{
MONGODB_REPO
}}"
state
:
present
tags
:
-
install
-
install:system-requirements
-
name
:
install mongo shell
apt
:
pkg
:
"
{{
item
}}"
state
:
present
install_recommends
:
yes
force
:
yes
update_cache
:
yes
with_items
:
"
{{
mongodb_debian_pkgs
}}"
tags
:
-
install
-
install:system-requirements
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