library/roles/geoserver/geoserver: Add the possibility to overwrite specific jars inside the distribution.
This commit is contained in:
parent
b9a6310195
commit
e908677c88
|
@ -8,3 +8,4 @@ geoserver_download_url: 'http://sourceforge.net/projects/geoserver/files/GeoServ
|
||||||
|
|
||||||
geoserver_download_directory: /srv/geoserver
|
geoserver_download_directory: /srv/geoserver
|
||||||
geoserver_data_directory: /srv/geoserver_data
|
geoserver_data_directory: /srv/geoserver_data
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,14 @@
|
||||||
with_items: '{{ tomcat_m_instances }}'
|
with_items: '{{ tomcat_m_instances }}'
|
||||||
notify: tomcat instances restart
|
notify: tomcat instances restart
|
||||||
|
|
||||||
|
- name: Download newer jar files when needed
|
||||||
|
get_url: url={{ item.1.url }} dest={{ item.0.instance_path }}/webapps/{{ geoserver_app_name }}/WEB-INF/lib/{{ item.1.file }} owner={{ item.0.user }} group={{ item.0.user }} force=yes
|
||||||
|
with_together:
|
||||||
|
- '{{ tomcat_m_instances }}'
|
||||||
|
- '{{ geoserver_patches_data | default ([]) }}'
|
||||||
|
notify: tomcat instances restart
|
||||||
|
tags: [ 'geoserver', 'geopatch' ]
|
||||||
|
|
||||||
when: geoserver_install
|
when: geoserver_install
|
||||||
tags: geoserver
|
tags: geoserver
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{% if smartgears_persistence_location is defined %}
|
{% if smartgears_persistence_location is defined %}
|
||||||
<persistence location="{{ smartgears_persistence_location }}"/>
|
<persistence location="{{ smartgears_persistence_location }}"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<exclude>*</exclude>
|
<exclude>/*</exclude>
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue