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
bf165da5
Commit
bf165da5
authored
7 years ago
by
nadeemshahzad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed oracldjdk dependency
parent
47cf0cc0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
21 deletions
+7
-21
playbooks/roles/go-server/defaults/main.yml
+1
-7
playbooks/roles/go-server/meta/main.yml
+0
-8
playbooks/roles/go-server/tasks/main.yml
+6
-6
No files found.
playbooks/roles/go-server/defaults/main.yml
View file @
bf165da5
...
...
@@ -18,12 +18,6 @@ GO_SERVER_HOME: "/var/lib/go-server"
GO_SERVER_CONF_HOME
:
"
/etc/go"
GO_SERVER_PLUGIN_DIR
:
"
{{
GO_SERVER_HOME
}}/plugins/external/"
# Java version settings
GO_SERVER_ORACLEJDK_VERSION
:
"
8u131"
GO_SERVER_ORACLEJDK_BASE
:
"
jdk1.8.0_131"
GO_SERVER_ORACLEJDK_BUILD
:
"
b11"
GO_SERVER_ORACLEJDK_LINK
:
"
/usr/lib/jvm/java-8-oracle"
#Openjdk PPA Apt source
openjdk_apt_source
:
"
ppa:openjdk-r/ppa"
...
...
@@ -34,7 +28,7 @@ GO_SERVER_JAVA_HOME: "{{ GO_SERVER_ORACLEJDK_LINK }}"
GO_SERVER_APT_SOURCE
:
"
deb
https://download.gocd.io
/"
GO_SERVER_APT_KEY_URL
:
"
https://download.gocd.io/GOCD-GPG-KEY.asc"
GO_SERVER_APT_NAME
:
"
go-server"
GO_SERVER_APT_PKGS
:
[
"
apache2-utils"
]
GO_SERVER_APT_PKGS
:
[
"
apache2-utils"
,
"
openjdk-8-jdk"
]
# gocd-oauth-login
GO_SERVER_OAUTH_LOGIN_VERSION
:
"
1.2"
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/go-server/meta/main.yml
View file @
bf165da5
...
...
@@ -18,11 +18,3 @@
# my_role_var0: "foo"
# my_role_var1: "bar"
# }
dependencies
:
-
role
:
oraclejdk
tags
:
java
oraclejdk_version
:
"
{{
GO_SERVER_ORACLEJDK_VERSION
}}"
oraclejdk_base
:
"
{{
GO_SERVER_ORACLEJDK_BASE
}}"
oraclejdk_build
:
"
{{
GO_SERVER_ORACLEJDK_BUILD
}}"
oraclejdk_link
:
"
{{
GO_SERVER_ORACLEJDK_LINK
}}"
This diff is collapsed.
Click to expand it.
playbooks/roles/go-server/tasks/main.yml
View file @
bf165da5
...
...
@@ -45,12 +45,6 @@
repo
:
"
{{
openjdk_apt_source
}}"
state
:
present
-
name
:
install go-server using apt-get
apt
:
name
:
"
{{
GO_SERVER_APT_NAME
}}={{
GO_SERVER_VERSION
}}"
update_cache
:
yes
state
:
present
-
name
:
install other needed system packages
apt
:
name
:
"
{{
item
}}"
...
...
@@ -59,6 +53,12 @@
cache_valid_time
:
3600
with_items
:
"
{{
GO_SERVER_APT_PKGS
}}"
-
name
:
install go-server using apt-get
apt
:
name
:
"
{{
GO_SERVER_APT_NAME
}}={{
GO_SERVER_VERSION
}}"
update_cache
:
yes
state
:
present
-
name
:
create go-server plugin directory
file
:
path
:
"
{{
GO_SERVER_PLUGIN_DIR
}}"
...
...
This diff is collapsed.
Click to expand it.
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