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
28ff7ffa
Unverified
Commit
28ff7ffa
authored
8 years ago
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use the get_url and unarchive module instead of curl and tar
parent
1c6261cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
playbooks/roles/oraclejdk/tasks/main.yml
+8
-9
No files found.
playbooks/roles/oraclejdk/tasks/main.yml
View file @
28ff7ffa
...
...
@@ -17,11 +17,10 @@
with_items
:
"
{{
oraclejdk_debian_pkgs
}}"
-
name
:
Download Oracle Java
shell
:
"
curl
-b
gpw_e24=http%3A%2F%2Fwww.oracle.com
-b
oraclelicense=accept-securebackup-cookie
-O
-L
{{
oraclejdk_url
}}"
args
:
executable
:
/bin/bash
chdir
:
/var/tmp
creates
:
"
/var/tmp/{{
oraclejdk_file
}}"
get_url
:
url
:
"
{{
oraclejdk_url
}}"
headers
:
'
Cookie:oraclelicense=accept-securebackup-cookie'
dest
:
"
/var/tmp/{{
oraclejdk_file
}}"
-
name
:
Create jvm dir
file
:
...
...
@@ -31,10 +30,10 @@
group
:
root
-
name
:
Untar Oracle Java
shell
:
"
tar
-C
/usr/lib/jvm
-zxvf
/var/tmp/{{
oraclejdk_file
}}"
args
:
executable
:
/bin/bash
c
reates
:
"
/usr/lib/jvm/{{
oraclejdk_base
}}"
unarchive
:
src
:
"
/var/tmp/{{
oraclejdk_file
}}"
dest
:
"
/usr/lib/jvm"
c
opy
:
no
-
name
:
Create symlink expected by elasticsearch
file
:
...
...
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