diff --git a/geoserver/geoserver/defaults/main.yml b/geoserver/geoserver/defaults/main.yml index e3612750..7b9eb3d4 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 e264dbe9..0b8e4276 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' ]