library/roles/geoserver/geoserver: Do not use the gcube-app.xml template anymore.

This commit is contained in:
Andrea Dell'Amico 2017-03-23 17:35:02 +01:00
parent 23a75f861a
commit deda39363e
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,4 @@
---
- block:
- name: Create the Geoserver download directory
file: path={{ geoserver_download_directory }} state=directory
@ -20,6 +19,12 @@
with_items: '{{ tomcat_m_instances }}'
notify: tomcat instances restart
- name: Remove the postgres jdbc driver when we want a JNDI profile
shell: rm -f {{ item.instance_path }}/webapps/{{ geoserver_app_name }}/WEB-INF/lib/postgresql*.jdbc*.jar
with_items: '{{ tomcat_m_instances }}'
when: tomcat_install_pg_jdbc
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:

View File

@ -1,4 +1,4 @@
---
- include: geoserver.yml
- include: geoserver-gcubeapp.yml
when: smartgears_node is defined and smartgears_node
# - include: geoserver-gcubeapp.yml
# when: smartgears_node is defined and smartgears_node