From 6d92f1a1573c0a3b8d29c1dcb8c85c8e2b025772 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 16 Oct 2018 17:45:03 +0200 Subject: [PATCH] Add the geonetwork-connector role. --- geonetwork/geonetwork/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/geonetwork/geonetwork/tasks/main.yml b/geonetwork/geonetwork/tasks/main.yml index d5fabedb..22439564 100644 --- a/geonetwork/geonetwork/tasks/main.yml +++ b/geonetwork/geonetwork/tasks/main.yml @@ -66,6 +66,15 @@ when: geonetwork_major_version >= 3 notify: tomcat instances restart + - name: Install the custom web.xml for the geonetwork. Only on version 3.2 right now + template: src={{ geonetwork_major_version }}.{{ geonetwork_point_version }}-web.xml.j2 dest={{ item.instance_path }}/webapps/{{ geonetwork_app_name | lower }}/WEB-INF/web.xml owner={{ item.user }} group={{ item.user }} mode=0440 + with_items: '{{ tomcat_m_instances }}' + when: + - geonetwork_major_version == 3 + - geonetwork_point_version == 2 + notify: tomcat instances restart + tags: [ 'geonetwork', 'geonetwork_webxml' ] + when: geonetwork_install tags: geonetwork