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:
Andrea Dell'Amico 2017-05-10 14:00:45 +02:00
parent c95e71cc2b
commit ad0d5d676b
1 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@
register: restart_needed
notify:
- 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
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:
- tomcat restart instances with changed configs
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
template: src=tomcat.logrotate.j2 dest=/etc/logrotate.d/tomcat_instance-{{ item.http_port }} owner=root group=root mode=0644