2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- name: Remove the system log4j library from the tomcat libdir
|
|
|
|
file: dest={{ tomcat_catalina_home_dir }}/lib/{{ item }} state=absent
|
|
|
|
with_items:
|
|
|
|
- log4j-1.2.jar
|
|
|
|
- tomcat-juli-adapters.jar
|
2016-03-02 16:44:43 +01:00
|
|
|
notify: tomcat restart
|
|
|
|
tags: tomcat
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Configure tomcat to use the standard version of the juli library
|
|
|
|
file: src=/usr/share/java/{{ item }} dest={{ tomcat_catalina_home_dir }}/bin/{{ item }} state=link
|
|
|
|
with_items:
|
|
|
|
- tomcat-juli.jar
|
2016-03-02 16:44:43 +01:00
|
|
|
notify: tomcat restart
|
|
|
|
tags: tomcat
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Remove the system log4j.properties
|
|
|
|
file: dest={{ tomcat_catalina_home_dir }}/lib/log4j.properties state=absent
|
2016-03-02 16:44:43 +01:00
|
|
|
notify: tomcat restart
|
|
|
|
tags: tomcat
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Install logging.properties
|
|
|
|
copy: src=logging.properties dest=/etc/tomcat{{ tomcat_version }}/logging.properties owner=root group=root mode=0644
|
2016-03-02 16:44:43 +01:00
|
|
|
notify: tomcat restart
|
|
|
|
tags: tomcat
|
2015-05-28 11:32:57 +02:00
|
|
|
|