library/roles/geoserver/geoserver: The task that installs additional jar files is now conditional.

This commit is contained in:
Andrea Dell'Amico 2017-04-14 18:28:49 +02:00
parent 9d79eaa89a
commit 4e7236de44
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,8 @@ geoserver_app_name: geoserver
geoserver_version: '{{ geoserver_major_version }}.{{ geoserver_minor_version }}' 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_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_download_directory: /srv/geoserver
geoserver_data_directory: /srv/geoserver_data geoserver_data_directory: /srv/geoserver_data

View File

@ -30,6 +30,7 @@
with_together: with_together:
- '{{ tomcat_m_instances }}' - '{{ tomcat_m_instances }}'
- '{{ geoserver_patches_data | default (omit) }}' - '{{ geoserver_patches_data | default (omit) }}'
when: geoserver_additional_jars
notify: tomcat instances restart notify: tomcat instances restart
tags: [ 'geoserver', 'geopatch' ] tags: [ 'geoserver', 'geopatch' ]