Code Review
/
ansible
/
roles
/
java-install.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fd5bf53
)
Do not attempt java 7 installation on Ubuntu 18+
85/13985/1
author
Eric Ball
<eball@linuxfoundation.org>
Thu, 13 Dec 2018 23:48:12 +0000
(15:48 -0800)
committer
Eric Ball
<eball@linuxfoundation.org>
Thu, 13 Dec 2018 23:48:12 +0000
(15:48 -0800)
For newer versions of Ubuntu, there is no longer an openjdk-7-jdk
package.
Change-Id: I9063e5e16cfa23aa0bd6cfe609ba9cd0fac1ba69
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
tasks/Debian.yml
patch
|
blob
|
history
diff --git
a/tasks/Debian.yml
b/tasks/Debian.yml
index
af56eb4
..
856ac58
100644
(file)
--- a/
tasks/Debian.yml
+++ b/
tasks/Debian.yml
@@
-6,6
+6,7
@@
- name: Install Java 7 SDK
apt: name=openjdk-7-jdk state=present update_cache=yes
become: true
+ when: ansible_distribution_version < '18.04'
- name: Install Java 8 SDK
apt: name=openjdk-8-jdk state=present update_cache=yes