Installs multiple instances of the tomcat service using the system packages. https://tomcat.apache.org
Go to file
Andrea Dell'Amico ecc4c0a395
Fix a variable name.
2024-08-05 15:13:19 +02:00
.vscode Fix the systemd unit security section. 2024-08-02 12:45:02 +02:00
defaults Fix the systemd unit security section. 2024-08-02 12:45:02 +02:00
files Import the old role. 2020-06-01 19:00:45 +02:00
handlers Fix the restart sequence. 2022-07-18 18:41:12 +02:00
meta Import the old role. 2020-06-01 19:00:45 +02:00
tasks Add the tomcat_init tag to the task that installs the default file. 2024-08-02 15:11:09 +02:00
templates Fix a variable name. 2024-08-05 15:13:19 +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