tomcat javamelody: maven wants https now.
This commit is contained in:
parent
98dc9c2960
commit
6cbaef0857
|
@ -77,6 +77,8 @@ tomcat_jmx_localhost_only: False
|
|||
|
||||
# Metrics monitoring via javamelody
|
||||
tomcat_javamelody: True
|
||||
#tomcat_javamelody_version: latest
|
||||
tomcat_javamelody_version: 1.79.0
|
||||
|
||||
# tomcat logging
|
||||
tomcat_logdir: '/var/log/tomcat{{ tomcat_version }}'
|
||||
|
|
|
@ -43,13 +43,13 @@
|
|||
|
||||
- name: Configure tomcat defaults
|
||||
template: src=tomcat-default.j2 dest=/etc/default/tomcat{{ tomcat_version }}
|
||||
when: tomcat_install_default_conf
|
||||
when: tomcat_install_default_conf | bool
|
||||
notify: tomcat restart
|
||||
tags: [ 'tomcat', 'tomcat_default' ]
|
||||
|
||||
- name: Configure tomcat server.xml
|
||||
template: src=tomcat-server.xml.j2 dest={{ tomcat_conf_dir }}/server.xml
|
||||
when: tomcat_install_server_xml
|
||||
when: tomcat_install_server_xml | bool
|
||||
notify: tomcat restart
|
||||
tags: [ 'tomcat', 'tomcat_serverxml' ]
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
|||
|
||||
- name: Install a slightly modified catalina.properties
|
||||
copy: src=catalina.properties dest={{ tomcat_conf_dir }}/catalina.properties owner=root group={{ tomcat_user }} mode=0644
|
||||
when: tomcat_install_default_conf
|
||||
when: tomcat_install_default_conf | bool
|
||||
notify: tomcat restart
|
||||
tags: [ 'tomcat', 'tomcat_catalinaprops' ]
|
||||
|
||||
|
@ -80,13 +80,13 @@
|
|||
tags: [ 'tomcat', 'tomcat_javamelody' ]
|
||||
|
||||
- name: Install the javamelody dependency jar into the Java shared libs directory
|
||||
maven_artifact: artifact_id=jrobin version=latest group_id=org.jrobin extension=jar dest=/usr/share/java/jrobin.jar verify_checksum=always mode=0644 owner=root group=root
|
||||
when: tomcat_javamelody
|
||||
maven_artifact: artifact_id=jrobin version=latest group_id=org.jrobin extension=jar dest=/usr/share/java/jrobin.jar verify_checksum=always mode=0644 owner=root group=root repository_url=https://repo1.maven.org/maven2
|
||||
when: tomcat_javamelody | bool
|
||||
tags: [ 'tomcat', 'tomcat_javamelody' ]
|
||||
|
||||
- name: Install the javamelody-core jar into the Java shared libs directory
|
||||
maven_artifact: artifact_id=javamelody-core version={{ tomcat_javamelody_version }} group_id=net.bull.javamelody extension=jar dest=/usr/share/java/javamelody-core.jar verify_checksum=always mode=0644 owner=root group=root
|
||||
when: tomcat_javamelody
|
||||
maven_artifact: artifact_id=javamelody-core version={{ tomcat_javamelody_version }} group_id=net.bull.javamelody extension=jar dest=/usr/share/java/javamelody-core.jar verify_checksum=always mode=0644 owner=root group=root repository_url=https://repo1.maven.org/maven2
|
||||
when: tomcat_javamelody | bool
|
||||
tags: [ 'tomcat', 'tomcat_javamelody' ]
|
||||
|
||||
- name: Create a link to the the javamelody jar and its dependencies if the javamelody support is enabled
|
||||
|
@ -94,7 +94,7 @@
|
|||
with_items:
|
||||
- javamelody-core.jar
|
||||
- jrobin.jar
|
||||
when: tomcat_javamelody
|
||||
when: tomcat_javamelody | bool
|
||||
tags: [ 'tomcat', 'tomcat_javamelody' ]
|
||||
|
||||
- name: Remove the javamelody jar and its dependencies if the javamelody support is disabled
|
||||
|
@ -102,5 +102,5 @@
|
|||
with_items:
|
||||
- javamelody-core.jar
|
||||
- jrobin.jar
|
||||
when: not tomcat_javamelody
|
||||
when: not tomcat_javamelody | bool
|
||||
tags: [ 'tomcat', 'tomcat_javamelody' ]
|
||||
|
|
Loading…
Reference in New Issue