Installs multiple instances of the tomcat service using the system packages. https://tomcat.apache.org
Go to file
Andrea Dell'Amico 2289cbc9aa
Fix a typo.
2022-07-05 16:39:12 +02:00
defaults Customize the catalina shared loader. 2022-07-05 15:37:47 +02:00
files Import the old role. 2020-06-01 19:00:45 +02:00
handlers Import the old role. 2020-06-01 19:00:45 +02:00
meta Import the old role. 2020-06-01 19:00:45 +02:00
tasks Tomcat logs base directory: accessible to all. 2021-09-20 12:56:39 +02:00
templates Fix a typo. 2022-07-05 16:39:12 +02:00
tests Initial commit 2020-05-28 15:21:37 +02:00
vars Disable the tomcat standalone service. 2020-07-08 14:55:36 +02:00
.gitignore Initial commit 2020-05-28 15:21:37 +02:00
LICENSE Initial commit 2020-05-28 15:21:37 +02:00
README.md Optionally add paths to the common loader. 2021-04-13 15:30:25 +02:00

README.md

Role Name

A role that installs multiple instances of tomcat, using the binaries from the distribution packages.

Role Variables

The most important variables are listed below. See the defaults/main.yml file for a complete reference:

tomcat_m_instances:
  - {  http_enabled: True, http_port: '8180', http_address: '0.0.0.0', ajp_enabled: False, ajp_port: '8109', ajp_address: '127.0.0.1', restart_timeout: '{{ tomcat_m_restart_timeout }}', shutdown_port: '8105', java_home: '{{ jdk_java_home }}', user: '{{ tomcat_m_default_user }}', user_home: '{{ tomcat_m_instances_base_path }}', user_shell: '{{ tomcat_m_default_user_shell }}', instance_path: '{{ tomcat_m_instances_base_path }}/8180', max_threads: '{{ tomcat_m_max_threads }}', autodeploy: '{{ tomcat_m_webapps_autodeploy }}', unpack: '{{ tomcat_m_webapps_unpack }}', install_server_xml: True, default_conf: True, java_opts: '{{ tomcat_m_java_opts }}', java_gc_opts: '{{ tomcat_m_java_gc_opts }}', proxy_enabled: '{{ tomcat_m_proxy_enabled }}', other_java_opts: '{{ tomcat_m_other_java_opts }}', jmx_enabled: '{{ tomcat_m_jmx_enabled }}', jmx_disable_additional_ports: '{{ tomcat_m_jmx_disable_additional_ports }}', jmx_auth_enabled: '{{ tomcat_m_jmx_auth_enabled }}', jmx_auth_dir: '{{ tomcat_m_instances_base_path }}/8180/conf', jmx_port: '{{ tomcat_m_jmx_port }}', jmx_monitorpass: '{{ set_in_a_vault_file }}', jmx_controlpass: '{{ set_in_a_vault_file }}', remote_debugging: '{{ tomcat_m_enable_remote_debugging }}', remote_debugging_uri: '{{ tomcat_m_remote_debugging_uri }}', access_log_enabled: True, log_rotation_freq: daily, log_retain: 30, allowed_hosts: [ 'xxx.xxx.xxx.xxx/32', 'yyy.yyy.yyy.yyy/32' ], app_contexts: [ 'app1', 'app2' ] }

Dependencies

The tomcat role, <git+https://gitea-s2i2s.isti.cnr.it/ISTI-ansible-roles/ansible-role-tomcat.git>

License

EUPL-1.2

Author Information

Andrea DellAmico, andrea.dellamico@isti.cnr.it