2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- name: Distribute the jmx authorization file
|
|
|
|
template: src=jmxremote.passwd.j2 dest={{ tomcat_jmx_auth_dir }}/jmxremote.passwd owner={{ tomcat_user }} mode=0600
|
|
|
|
when:
|
|
|
|
- tomcat_jmx_enabled
|
|
|
|
- tomcat_jmx_auth_enabled
|
2016-01-19 14:02:15 +01:00
|
|
|
notify: tomcat restart
|
|
|
|
tags: [ 'tomcat', 'jmx' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Distribute the jmx role file
|
|
|
|
copy: src=jmxremote.access dest={{ tomcat_jmx_auth_dir }}/jmxremote.access owner=root mode=0644
|
|
|
|
when:
|
|
|
|
- tomcat_jmx_enabled
|
|
|
|
- tomcat_jmx_auth_enabled
|
2016-01-19 14:02:15 +01:00
|
|
|
notify: tomcat restart
|
|
|
|
tags: [ 'tomcat', 'jmx' ]
|