From 0edd59a9f48489aaac6ed94865d06ab6b5e4a36c Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 15 Sep 2015 17:37:56 +0200 Subject: [PATCH] library/roles/tomcat-multiple-instances/tasks/main.yml: More fine grained tags dnet-openaire/group_vars/dli/dli.yml: Increment the dnet container heap size. --- tomcat-multiple-instances/tasks/main.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/tomcat-multiple-instances/tasks/main.yml b/tomcat-multiple-instances/tasks/main.yml index 6de1ccb..bc127f6 100644 --- a/tomcat-multiple-instances/tasks/main.yml +++ b/tomcat-multiple-instances/tasks/main.yml @@ -118,9 +118,7 @@ register: restart_needed notify: - tomcat restart instances with changed configs - tags: - - tomcat - - tomcat_instances + tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf' ] - name: Install the instances startup scripts template: src=tomcat-instance.init.j2 dest=/etc/init.d/tomcat-instance-{{ item.http_port }} mode=0755 owner=root group=root @@ -135,16 +133,12 @@ register: restart_needed notify: - tomcat restart instances with changed configs - tags: - - tomcat - - tomcat_instances + tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf' ] - 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 with_items: tomcat_m_instances - tags: - - tomcat - - tomcat_instances + tags: [ 'tomcat', 'tomcat_instances', 'tomcat_conf' ] - name: Install the jmx authorization file template: src=jmxremote.passwd.j2 dest={{ item.instance_path }}/conf/jmxremote.passwd owner={{ item.user }} group={{ item.user }} mode=0600 @@ -157,9 +151,7 @@ register: jmx_restart_needed notify: - tomcat restart instances with changed jmx config - tags: - - tomcat - - tomcat_instances + tags: [ 'tomcat', 'tomcat_instances', 'tomcat_jmx' ] - name: Install the jmx role file copy: src=jmxremote.access dest={{ item.instance_path }}/conf/jmxremote.access owner={{ item.user }} group={{ item.user }} mode=0644 @@ -172,9 +164,7 @@ register: jmx restart_needed notify: - tomcat restart instances with changed jmx config - tags: - - tomcat - - tomcat_instances + tags: [ 'tomcat', 'tomcat_instances', 'tomcat_jmx' ] - name: Start and enable all the tomcat instances service: name=tomcat-instance-'{{ item.http_port }}' state=started sleep=20 enabled=yes