ansible-roles/tomcat-apache-requirements/tasks/java-requirements.yml

24 lines
693 B
YAML

---
- name: Install the apache proxy modules needed for tomcat
file: src=/etc/apache2/mods-available/{{ item }} dest=/etc/apache2/mods-enabled/{{ item }} state=link
with_items:
- proxy.load
- proxy_http.load
- proxy_ajp.load
notify: apache2 reload
tags:
- apache
- dnet
- name: Ensure that the jre/lib/endorsed exists
file: dest={{ jdk_java_home }}/jre/lib/endorsed state=directory owner=root group=root mode=0755
tags:
- apache
- dnet
- name: Install the xercesImpl.jar needed by the dnet applications
copy: src=xercesImpl.jar dest={{ jdk_java_home }}/jre/lib/endorsed/xercesImpl.jar owner=root group=root mode=0644
tags:
- apache
- dnet