From 7d714a064748939c975585fdeff46dcc2f067f4f Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 12 Apr 2019 15:51:37 +0200 Subject: [PATCH] tomcat-multiple-instances: the tomcat username depends on the tomcat version. --- tomcat-multiple-instances/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tomcat-multiple-instances/defaults/main.yml b/tomcat-multiple-instances/defaults/main.yml index a2f6f36..fd6ebd4 100644 --- a/tomcat-multiple-instances/defaults/main.yml +++ b/tomcat-multiple-instances/defaults/main.yml @@ -1,5 +1,5 @@ --- -#tomcat_version: 7 +tomcat_version: 7 #tomcat_catalina_home_dir: '/usr/share/tomcat{{ tomcat_version }}' # Disable the main tomcat instance tomcat_service_enabled: False @@ -32,7 +32,7 @@ tomcat_m_manager_status_r: "manager-status" tomcat_m_instances_base_path: '/var/lib/tomcat_instances' tomcat_m_instances_logdir_base: '/var/log/tomcat_instances' tomcat_m_cache_base: '/var/cache/tomcat-instances' -tomcat_m_default_user: tomcat7 +tomcat_m_default_user: 'tomcat{{ tomcat_version }}' tomcat_m_use_default_user: True tomcat_m_user_home: False tomcat_m_default_user_shell: /bin/false