Do not pass the SECURITY options when Ubuntu < 22.04.
This commit is contained in:
parent
971c7828ff
commit
1c2d775aa3
|
@ -22,4 +22,8 @@ SECURITY=""
|
|||
|
||||
|
||||
# Start Tomcat
|
||||
{% if ansible_distribution_version is version_compare('22.04', '<') %}
|
||||
cd $CATALINA_BASE && exec $CATALINA_HOME/bin/catalina.sh run
|
||||
{% else %}
|
||||
cd $CATALINA_BASE && exec $CATALINA_HOME/bin/catalina.sh run $SECURITY
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue