Skip to content

Commit

Permalink
Default to 8u141
Browse files Browse the repository at this point in the history
  • Loading branch information
srsp committed Jul 25, 2017
1 parent 9349410 commit ae9060c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ User-configurable defaults:
java_version: 8

# which subversion?
java_subversion: 131
java_subversion: 141

# which directory to put the download file?
java_download_path: /tmp
Expand Down Expand Up @@ -67,9 +67,9 @@ If you want to install a Java release which is not supported out-of-the-box, you
vars:
java_version: 8
java_subversion: 131
java_build: 11
jdk_tarball_hash: d54c1d3a095b4ff2b6607d096fa80163
java_subversion: 141
java_build: 15
jdk_tarball_hash: 336fa29ff2bb4ef291e347e091f7f4a7
```


Expand Down
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#

java_version: 8
java_subversion: 131
jdk_tarball_hash: d54c1d3a095b4ff2b6607d096fa80163
java_subversion: 141
# jdk_tarball_hash: 336fa29ff2bb4ef291e347e091f7f4a7

java_download_path: /tmp
java_download_from_oracle: true
Expand Down
6 changes: 6 additions & 0 deletions tasks/set-role-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
# version-specific variables
#

- name: set internal vars for 1.8.0_141
set_fact:
jdk_version_detail: "{{ java_version }}u{{ java_subversion }}-b15"
jdk_tarball_hash: 336fa29ff2bb4ef291e347e091f7f4a7
when: java_version == 8 and java_subversion == 141

- name: set internal vars for 1.8.0_131
set_fact:
jdk_version_detail: "{{ java_version }}u{{ java_subversion }}-b11"
Expand Down

0 comments on commit ae9060c

Please sign in to comment.