tomcat: package version derived from Debian version if missing
This commit is contained in:
parent
b8bdedaa2e
commit
3b258cc43e
|
@ -55,6 +55,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* rbenv: install Ruby 2.6.5 by default
|
* rbenv: install Ruby 2.6.5 by default
|
||||||
* squid: Remove wait time when we turn off squid
|
* squid: Remove wait time when we turn off squid
|
||||||
* squid: compatibility wit Debian 10
|
* squid: compatibility wit Debian 10
|
||||||
|
* 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+
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
tomcat_instance_root: '/srv/tomcat'
|
tomcat_instance_root: '/srv/tomcat'
|
||||||
tomcat_version: 8
|
|
||||||
|
|
|
@ -1,4 +1,26 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Set Tomcat version to 7 on Debian 8 if missing
|
||||||
|
set_fact:
|
||||||
|
tomcat_version: 7
|
||||||
|
when:
|
||||||
|
- ansible_distribution_release == "jessie"
|
||||||
|
- tomcat_version is not defined
|
||||||
|
|
||||||
|
- name: Set Tomcat version to 8 on Debian 9 if missing
|
||||||
|
set_fact:
|
||||||
|
tomcat_version: 8
|
||||||
|
when:
|
||||||
|
- ansible_distribution_release == "stretch"
|
||||||
|
- tomcat_version is not defined
|
||||||
|
|
||||||
|
- name: Set Tomcat version to 9 on Debian 10 if missing
|
||||||
|
set_fact:
|
||||||
|
tomcat_version: 9
|
||||||
|
when:
|
||||||
|
- ansible_distribution_release == "buster"
|
||||||
|
- tomcat_version is not defined
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
|
Loading…
Reference in a new issue