From 4e7236de443397f38516c405d3534de4c71119f5 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 14 Apr 2017 18:28:49 +0200 Subject: [PATCH] library/roles/geoserver/geoserver: The task that installs additional jar files is now conditional. --- geoserver/geoserver/defaults/main.yml | 2 ++ geoserver/geoserver/tasks/geoserver.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/geoserver/geoserver/defaults/main.yml b/geoserver/geoserver/defaults/main.yml index e361275..7b9eb3d 100644 --- a/geoserver/geoserver/defaults/main.yml +++ b/geoserver/geoserver/defaults/main.yml @@ -6,6 +6,8 @@ geoserver_app_name: geoserver geoserver_version: '{{ geoserver_major_version }}.{{ geoserver_minor_version }}' geoserver_download_url: 'http://sourceforge.net/projects/geoserver/files/GeoServer/{{ geoserver_version }}/geoserver-{{ geoserver_version }}-war.zip' +geoserver_additional_jars: False + geoserver_download_directory: /srv/geoserver geoserver_data_directory: /srv/geoserver_data diff --git a/geoserver/geoserver/tasks/geoserver.yml b/geoserver/geoserver/tasks/geoserver.yml index e264dbe..0b8e427 100644 --- a/geoserver/geoserver/tasks/geoserver.yml +++ b/geoserver/geoserver/tasks/geoserver.yml @@ -30,6 +30,7 @@ with_together: - '{{ tomcat_m_instances }}' - '{{ geoserver_patches_data | default (omit) }}' + when: geoserver_additional_jars notify: tomcat instances restart tags: [ 'geoserver', 'geopatch' ]