From be78981443abc30c5c03c3ee70ee4647fdfc945e Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 22 Jul 2024 13:11:17 +0200 Subject: [PATCH] tomcat 10 uses 'tomcat' as a user in ubuntu. --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 145aedf..e93db90 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -15,7 +15,7 @@ tomcat8_additional_pkgs: - jsvc - libcommons-daemon-java -tomcat_user: 'tomcat{{ tomcat_version }}' +tomcat_user: "{% if tomcat_version is version_compare('10', '<') %}tomcat{{ tomcat_version }}{% else %}tomcat{% endif %}" tomcat_max_threads: 200 tomcat_min_heap_size: 2048m