tomcat-multiple-instances: the tomcat username depends on the tomcat version.

This commit is contained in:
Andrea Dell'Amico 2019-04-12 15:51:37 +02:00
parent a28bdd09ec
commit 7d714a0647
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- ---
#tomcat_version: 7 tomcat_version: 7
#tomcat_catalina_home_dir: '/usr/share/tomcat{{ tomcat_version }}' #tomcat_catalina_home_dir: '/usr/share/tomcat{{ tomcat_version }}'
# Disable the main tomcat instance # Disable the main tomcat instance
tomcat_service_enabled: False 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_base_path: '/var/lib/tomcat_instances'
tomcat_m_instances_logdir_base: '/var/log/tomcat_instances' tomcat_m_instances_logdir_base: '/var/log/tomcat_instances'
tomcat_m_cache_base: '/var/cache/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_use_default_user: True
tomcat_m_user_home: False tomcat_m_user_home: False
tomcat_m_default_user_shell: /bin/false tomcat_m_default_user_shell: /bin/false