diff --git a/tomcat-multiple-instances/tasks/main.yml b/tomcat-multiple-instances/tasks/main.yml index b456e9e8..ae199c41 100644 --- a/tomcat-multiple-instances/tasks/main.yml +++ b/tomcat-multiple-instances/tasks/main.yml @@ -111,7 +111,6 @@ register: restart_needed notify: - tomcat restart instances with changed configs - when: tomcat_m_jndi_pool tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf', 'tomcat_default' ] - name: Install a custom context.xml file @@ -120,6 +119,7 @@ register: restart_needed notify: - tomcat restart instances with changed configs + when: tomcat_m_jndi_pool tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf', 'tomcat_contextxml' ] - name: Install a logrotate entry for the access log file