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
bc629617
Commit
bc629617
authored
Jul 24, 2017
by
Hannah Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mongo client role
parent
07753c21
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
38 deletions
+40
-38
playbooks/roles/mongo_client/defaults/main.yml
+9
-0
playbooks/roles/mongo_client/tasks/main.yml
+29
-0
playbooks/roles/tools_jenkins/defaults/main.yml
+0
-9
playbooks/roles/tools_jenkins/meta/main.yml
+2
-0
playbooks/roles/tools_jenkins/tasks/main.yml
+0
-29
No files found.
playbooks/roles/mongo_client/defaults/main.yml
0 → 100644
View file @
bc629617
---
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
mongo_client_debian_pkgs
:
-
"
mongodb-org-shell={{
mongo_version
}}"
-
"
mongodb-org-tools={{
mongo_version
}}"
playbooks/roles/mongo_client/tasks/main.yml
0 → 100644
View file @
bc629617
---
-
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
:
"
{{
mongo_client_debian_pkgs
}}"
tags
:
-
install
-
install:system-requirements
playbooks/roles/tools_jenkins/defaults/main.yml
View file @
bc629617
...
...
@@ -78,12 +78,3 @@ jenkins_tools_debian_pkgs:
-
psmisc
-
mysql-client-core-5.6
-
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/meta/main.yml
View file @
bc629617
...
...
@@ -15,3 +15,5 @@ dependencies:
-
role
:
docker-tools
docker_users
:
-
'
{{
jenkins_user
}}'
-
role
:
mongo_client
playbooks/roles/tools_jenkins/tasks/main.yml
View file @
bc629617
...
...
@@ -19,32 +19,3 @@
tags
:
-
install
-
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