diff --git a/CHANGELOG.md b/CHANGELOG.md index 071a4fe..94ea890 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch ## [Unreleased](https://github.com/idealista/tomcat_role/tree/develop) +## [1.10.3](https://github.com/idealista/tomcat_role/tree/1.10.3) +[Full Changelog](https://github.com/idealista/tomcat_role/compare/1.10.2...1.10.3) +### Added +- *[#114](https://github.com/idealista/tomcat_role/issues/114) Hide Tomcat version on error pages* @aren-pulid0 ## [1.10.2](https://github.com/idealista/tomcat_role/tree/1.10.2) [Full Changelog](https://github.com/idealista/tomcat_role/compare/1.10.1...1.10.2) diff --git a/templates/server.xml.j2 b/templates/server.xml.j2 index c9df62d..877de35 100644 --- a/templates/server.xml.j2 +++ b/templates/server.xml.j2 @@ -136,7 +136,11 @@ - + + {% if not tomcat_show_server_info_on_error_page %} + + {% endif %} + diff --git a/vars/main.yml b/vars/main.yml index f2d70c9..0afdbd6 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -8,4 +8,6 @@ tomcat_supported_agents_extensions: - '.tar' - '.tar.gz' - '.tar.bz2' - - '.tar.xz' \ No newline at end of file + - '.tar.xz' + +tomcat_show_server_info_on_error_page: false \ No newline at end of file