java: add Java 11 as possible version to install
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
288416f149
commit
5b5b8944c5
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -28,6 +28,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* evomaintenance: don't configure firewall for database if not necessary
|
* evomaintenance: don't configure firewall for database if not necessary
|
||||||
* generate-ldif: support MariaDB 10.3
|
* generate-ldif: support MariaDB 10.3
|
||||||
* haproxy: add a variable to keep the existing configuration
|
* haproxy: add a variable to keep the existing configuration
|
||||||
|
* java: add Java 11 as possible version to install
|
||||||
* listupgrade: install old-kernel-autoremoval script
|
* listupgrade: install old-kernel-autoremoval script
|
||||||
* minifirewall: add a variable to force the check scripts update
|
* minifirewall: add a variable to force the check scripts update
|
||||||
* mongodb: mongodb: compatibility with Debian 10
|
* mongodb: mongodb: compatibility with Debian 10
|
||||||
|
@ -51,9 +52,11 @@ The **patch** part changes incrementally at each release.
|
||||||
* removed some deprecations for Ansible 2.7
|
* removed some deprecations for Ansible 2.7
|
||||||
* apache: improve permissions in save_apache_status script
|
* apache: improve permissions in save_apache_status script
|
||||||
* apt: hold packages only if package is installed
|
* apt: hold packages only if package is installed
|
||||||
|
* bind: the munin task was present, but not included
|
||||||
|
* bind: change name of logrotate file to bind9
|
||||||
* certbot: commit hook must be executed at the end
|
* certbot: commit hook must be executed at the end
|
||||||
* elasticsearch: listen on local interface only by default
|
* elasticsearch: listen on local interface only by default
|
||||||
* evocheck: upstream verison 20.02.1
|
* evocheck: upstream version 20.02.1
|
||||||
* evocheck: cron jobs execute in verbose
|
* evocheck: cron jobs execute in verbose
|
||||||
* evolinux-base: use "evolinux_internal_group" for SSH authentication
|
* evolinux-base: use "evolinux_internal_group" for SSH authentication
|
||||||
* evolinux-base: Don't customize the logcheck recipient by default.
|
* evolinux-base: Don't customize the logcheck recipient by default.
|
||||||
|
@ -83,14 +86,6 @@ The **patch** part changes incrementally at each release.
|
||||||
* squid: compatibility wit Debian 10
|
* squid: compatibility wit Debian 10
|
||||||
* tomcat: package version derived from Debian version if missing
|
* tomcat: package version derived from Debian version if missing
|
||||||
* varnish: remove custom ExecReload= script for Debian 10+
|
* varnish: remove custom ExecReload= script for Debian 10+
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
* lxc: remove useless loop in apt execution
|
|
||||||
* lxc: update our default template to be compatible with Debian 10
|
|
||||||
* lxc: rely on lxc_container module instead of command module
|
|
||||||
* bind: the munin task was present, but not included
|
|
||||||
* bind: change name of logrotate file to bind9
|
|
||||||
>>>>>>> bind9_evocheck_fix
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* etc-git: fix warnings ansible-lint
|
* etc-git: fix warnings ansible-lint
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- fail:
|
# - fail:
|
||||||
msg: "This role support only java 8 for now !"
|
# msg: "This role support only java 8 for now !"
|
||||||
when: java_version != 8
|
# when: java_version != 8
|
||||||
|
|
||||||
- include: openjdk.yml
|
- include: openjdk.yml
|
||||||
when: "{{ java_alternative == 'openjdk' }}"
|
when: "{{ java_alternative == 'openjdk' }}"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
- name: This openjdk version is the default alternative
|
- name: This openjdk version is the default alternative
|
||||||
alternatives:
|
alternatives:
|
||||||
name: java
|
name: java
|
||||||
path: "/usr/lib/jvm/java-{{ java_version }}-openjdk-amd64/jre/bin/java"
|
path: "{{ java_bin_path[java_version] }}"
|
||||||
when: java_default_alternative
|
when: java_default_alternative
|
||||||
tags:
|
tags:
|
||||||
- java
|
- java
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
java_bin_path:
|
||||||
|
8: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
|
||||||
|
11: /usr/lib/jvm/java-11-openjdk-amd64/bin/java
|
Loading…
Reference in New Issue