ansible-role-tomcat/tasks/not_pgsql_jdbc.yml

11 lines
308 B
YAML

---
- name: not_pgsql_jdbc | Do not load the postgresql jdbc driver on tomcat if not needed
ansible.builtin.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