library/roles/tomcat-multiple-instances/tasks/main.yml: Fix a wrong conditional.

This commit is contained in:
Andrea Dell'Amico 2017-03-23 17:54:57 +01:00
parent deda39363e
commit 9087f16cb2
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,6 @@
register: restart_needed register: restart_needed
notify: notify:
- tomcat restart instances with changed configs - tomcat restart instances with changed configs
when: tomcat_m_jndi_pool
tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf', 'tomcat_default' ] tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf', 'tomcat_default' ]
- name: Install a custom context.xml file - name: Install a custom context.xml file
@ -120,6 +119,7 @@
register: restart_needed register: restart_needed
notify: notify:
- tomcat restart instances with changed configs - 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' ]
- name: Install a logrotate entry for the access log file - name: Install a logrotate entry for the access log file