It's only a matter of adding a new context to the ansible variables.
- - { http_enabled: True, http_port: '{{ tomcat_http_port }}', 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: '-1', java_home: '{{ jdk_java_home }}', user: '{{ d4science_user }}', user_home: '{{ d4science_user_home }}', user_shell: '{{ tomcat_m_default_user_shell }}', instance_path: '{{ gcube_tomcat_instance_path }}', max_threads: '{{ tomcat_m_max_threads }}', autodeploy: '{{ tomcat_m_webapps_autodeploy }}', unpack: '{{ tomcat_m_webapps_unpack }}', default_conf: True, java_opts: '{{ tomcat_m_java_opts }}', java_gc_opts: '{{ tomcat_m_java_gc_opts }}', other_java_opts: '{{ tomcat_m_other_java_opts }}', access_log_enabled: True, log_rotation_freq: daily, log_retain: 30, allowed_hosts: [ '{{ network.isti }}', '{{ network.nmis }}', '{{ network.eduroam }}' ], app_contexts: [ 'gis-viewer-app', 'transect', 'tree', 'uri-resolver' ], servername: '{{ ansible_fqdn }}' }
+ - { http_enabled: True, http_port: '{{ tomcat_http_port }}', 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: '-1', java_home: '{{ jdk_java_home }}', user: '{{ d4science_user }}', user_home: '{{ d4science_user_home }}', user_shell: '{{ tomcat_m_default_user_shell }}', instance_path: '{{ gcube_tomcat_instance_path }}', max_threads: '{{ tomcat_m_max_threads }}', autodeploy: '{{ tomcat_m_webapps_autodeploy }}', unpack: '{{ tomcat_m_webapps_unpack }}', default_conf: True, java_opts: '{{ tomcat_m_java_opts }}', java_gc_opts: '{{ tomcat_m_java_gc_opts }}', other_java_opts: '{{ tomcat_m_other_java_opts }}', access_log_enabled: True, log_rotation_freq: daily, log_retain: 30, allowed_hosts: [ '{{ network.isti }}', '{{ network.nmis }}', '{{ network.eduroam }}' ], app_contexts: [ 'gis-viewer-app', 'transect', 'tree', 'workspace-explorer-app', 'uri-resolver' ], servername: '{{ ansible_fqdn }}' }
The data.yml
playbook needs to be run so that the new apache configuration will be effective.