forked from ISTI-ansible-roles/ansible-roles
catalina.properties is now a template in the tomcat-multiple-instances role.
This commit is contained in:
parent
0e9276fe23
commit
d0879ec755
|
@ -66,6 +66,17 @@
|
||||||
- tomcat restart instances with changed configs
|
- tomcat restart instances with changed configs
|
||||||
tags: [ 'tomcat', 'tomcat_instances' ]
|
tags: [ 'tomcat', 'tomcat_instances' ]
|
||||||
|
|
||||||
|
- name: Install catalina.properties
|
||||||
|
template: src={{ item[1] }}.j2 dest={{ item.0.instance_path }}/conf/{{ item[1] }} owner={{ item.0.user }} group={{ item.0.user }} mode=0640
|
||||||
|
with_nested:
|
||||||
|
- '{{ tomcat_m_instances }}'
|
||||||
|
- [ 'catalina.properties' ]
|
||||||
|
register: restart_needed
|
||||||
|
notify:
|
||||||
|
- tomcat restart instances with changed configs
|
||||||
|
tags: [ 'tomcat', 'tomcat_instances', 'tomcat_catalina_properties' ]
|
||||||
|
|
||||||
|
|
||||||
- name: Populate the instances conf/policy.d directory
|
- name: Populate the instances conf/policy.d directory
|
||||||
copy: src=policy.d/{{ item[1] }} dest={{ item.0.instance_path }}/conf/policy.d/{{ item[1] }} owner={{ item.0.user }} group={{ item.0.user }} mode=0640
|
copy: src=policy.d/{{ item[1] }} dest={{ item.0.instance_path }}/conf/policy.d/{{ item[1] }} owner={{ item.0.user }} group={{ item.0.user }} mode=0640
|
||||||
with_nested:
|
with_nested:
|
||||||
|
|
|
@ -126,3 +126,10 @@ tomcat.util.buf.StringCache.byte.enabled=true
|
||||||
#tomcat.util.buf.StringCache.char.enabled=true
|
#tomcat.util.buf.StringCache.char.enabled=true
|
||||||
#tomcat.util.buf.StringCache.trainThreshold=500000
|
#tomcat.util.buf.StringCache.trainThreshold=500000
|
||||||
#tomcat.util.buf.StringCache.cacheSize=5000
|
#tomcat.util.buf.StringCache.cacheSize=5000
|
||||||
|
|
||||||
|
{% if tomcat_m_catalina_opts is defined %}
|
||||||
|
# Custom configurations
|
||||||
|
{% for opt in tomcat_m_catalina_opts %}
|
||||||
|
{{ opt }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
Loading…
Reference in New Issue