forked from ISTI-ansible-roles/ansible-roles
library/roles/tomcat-multiple-instances/tasks/main.yml: Add the tag 'jdk' to the task that install the tomcat defaults. This way a JDK change will be reflected to the tomcat configuration.
This commit is contained in:
parent
c95e71cc2b
commit
ad0d5d676b
|
@ -108,7 +108,7 @@
|
||||||
register: restart_needed
|
register: restart_needed
|
||||||
notify:
|
notify:
|
||||||
- tomcat restart instances with changed configs
|
- tomcat restart instances with changed configs
|
||||||
tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf', 'tomcat_default' ]
|
tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf', 'tomcat_default', 'jdk' ]
|
||||||
|
|
||||||
- name: Install a custom context.xml file
|
- name: Install a custom context.xml file
|
||||||
template: src=tomcat-context.xml.j2 dest={{ item.instance_path }}/conf/context.xml owner={{ item.user }} group={{ item.user }} mode=0640
|
template: src=tomcat-context.xml.j2 dest={{ item.instance_path }}/conf/context.xml owner={{ item.user }} group={{ item.user }} mode=0640
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
notify:
|
notify:
|
||||||
- tomcat restart instances with changed configs
|
- tomcat restart instances with changed configs
|
||||||
when: tomcat_m_jndi_pool
|
when: tomcat_m_jndi_pool
|
||||||
tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf', 'tomcat_contextxml' ]
|
tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf', 'tomcat_contextxml', 'jdk' ]
|
||||||
|
|
||||||
- name: Install a logrotate entry for the access log file
|
- name: Install a logrotate entry for the access log file
|
||||||
template: src=tomcat.logrotate.j2 dest=/etc/logrotate.d/tomcat_instance-{{ item.http_port }} owner=root group=root mode=0644
|
template: src=tomcat.logrotate.j2 dest=/etc/logrotate.d/tomcat_instance-{{ item.http_port }} owner=root group=root mode=0644
|
||||||
|
|
Loading…
Reference in New Issue