From 3021bcc6e377e71cf16b2d95965b1017f17b1bc4 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 15 Jul 2016 18:40:47 +0200 Subject: [PATCH] library/roles/tomcat: add a new option to the tomcat-server.xml template. --- tomcat/defaults/main.yml | 1 + tomcat/templates/tomcat-server.xml.j2 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tomcat/defaults/main.yml b/tomcat/defaults/main.yml index d59f00a3..14b06340 100644 --- a/tomcat/defaults/main.yml +++ b/tomcat/defaults/main.yml @@ -33,6 +33,7 @@ tomcat_ajp_address: 127.0.0.1 tomcat_shutdown_port: -1 tomcat_shutdown_pwd: "{{ lookup('password', '/tmp/passwordfile chars=ascii_letters,digits') }}" tomcat_restart_timeout: 300 +tomcat_max_post_size: 1000000 tomcat_catalina_home_dir: '/usr/share/tomcat{{ tomcat_version }}' tomcat_catalina_base_dir: '/var/lib/tomcat{{ tomcat_version }}' tomcat_conf_dir: '/etc/tomcat{{ tomcat_version }}' diff --git a/tomcat/templates/tomcat-server.xml.j2 b/tomcat/templates/tomcat-server.xml.j2 index 2268cb41..deb06736 100644 --- a/tomcat/templates/tomcat-server.xml.j2 +++ b/tomcat/templates/tomcat-server.xml.j2 @@ -76,7 +76,7 @@ {% if tomcat_http_enabled %} {% endif %}