Use version_compare for versions comparison.
This commit is contained in:
parent
7239714176
commit
32dab25a42
|
@ -21,7 +21,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<Server port="{{ item.shutdown_port }}" shutdown="{{ tomcat_m_shutdown_pwd }}">
|
<Server port="{{ item.shutdown_port }}" shutdown="{{ tomcat_m_shutdown_pwd }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if tomcat_version <= 7 %}
|
{% if tomcat_version is version_compare('7', '<=') %}
|
||||||
<Listener className="org.apache.catalina.core.JasperListener" />
|
<Listener className="org.apache.catalina.core.JasperListener" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
|
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
|
||||||
|
|
Loading…
Reference in New Issue