diff --git a/templates/tomcat-server.xml.j2 b/templates/tomcat-server.xml.j2 index 0b073c3..3900826 100644 --- a/templates/tomcat-server.xml.j2 +++ b/templates/tomcat-server.xml.j2 @@ -21,7 +21,7 @@ {% else %} {% endif %} -{% if tomcat_version <= 7 %} +{% if tomcat_version is version_compare('7', '<=') %} {% endif %}