forked from ISTI-ansible-roles/ansible-roles
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.
This commit is contained in:
parent
5c0b5dadb0
commit
0edd59a9f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue