ansible-roles/tomcat/tasks/not_pgsql_jdbc.yml

12 lines
274 B
YAML

---
- name: Do not load the postgresql jdbc driver on tomcat if not needed
file: dest={{ tomcat_catalina_home_dir }}/lib/{{ item }} state=absent
with_items:
- postgresql-jdbc4.jar
when: not tomcat_install_pg_jdbc
notify:
tomcat restart
tags:
- tomcat