Do not install javamelody on Ubuntu Trusty.
This commit is contained in:
parent
c73136c06e
commit
02aa0ad579
|
@ -1,10 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Manage the javamelody installation
|
- name: Manage the javamelody installation
|
||||||
block:
|
block:
|
||||||
- set_fact:
|
|
||||||
ansible_python_interpreter: /usr/bin/python3.6
|
|
||||||
when: ansible_distribution_release == "trusty"
|
|
||||||
|
|
||||||
- name: Install the javamelody dependency jar into the Java shared libs directory
|
- 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 repository_url=https://repo1.maven.org/maven2
|
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
|
||||||
|
|
||||||
|
@ -17,11 +13,10 @@
|
||||||
- javamelody-core.jar
|
- javamelody-core.jar
|
||||||
- jrobin.jar
|
- jrobin.jar
|
||||||
|
|
||||||
- set_fact:
|
when:
|
||||||
ansible_python_interpreter: /usr/bin/python
|
- tomcat_javamelody
|
||||||
when: ansible_distribution_release == "trusty"
|
- ansible_distribution == "Ubuntu"
|
||||||
|
- ansible_distribution_version is version_compare('16.04', '>=')
|
||||||
when: tomcat_javamelody
|
|
||||||
tags: [ 'tomcat', 'tomcat_javamelody', 'tomcat_conf' ]
|
tags: [ 'tomcat', 'tomcat_javamelody', 'tomcat_conf' ]
|
||||||
|
|
||||||
- name: Remove the javamelody jar and its dependencies if the javamelody support is disabled
|
- name: Remove the javamelody jar and its dependencies if the javamelody support is disabled
|
||||||
|
|
Loading…
Reference in New Issue