diff --git a/tasks/payara.yml b/tasks/payara.yml index 1bd02e6..29f8421 100644 --- a/tasks/payara.yml +++ b/tasks/payara.yml @@ -79,8 +79,7 @@ when: dataverse.payara.zipurl is match(".*glassfish-4.1.zip") notify: enable and restart payara -# python installer fails to place jdbc driver for whatever reason -# and we want this configurable for testing updated drivers anyway +# we don't need the JDBC driver any more but let's keep custom JDBC URLs - name: set jdbcurl set_fact: jdbc_url='{{ db.postgres.jdbcurl }}' @@ -91,22 +90,6 @@ dest: '{{ payara_dir }}/glassfish/lib/' when: jdbc_url|default(None) -- name: allow installer write access for release jdbc driver - file: - path: '{{ payara_dir }}/glassfish/lib' - state: directory - owner: '{{ dataverse.payara.user }}' - when: not jdbc_url|default(None) - -- name: install release jdbc driver - copy: - src: "{{ item }}" - dest: "{{ payara_dir }}/glassfish/lib/" - remote_src: true - when: not jdbc_url|default(None) - notify: enable and restart payara - with_fileglob: /tmp/dvinstall/pgdriver/postgresql-*.jar - - name: increase resource limits for payara blockinfile: path: /etc/security/limits.conf