new workspace-repository-prod node for jackrabbit (postgres on workspace-repository-pg)
This commit is contained in:
parent
5ea7b20a28
commit
68c0687eec
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
home_library_gcube_repository: 'gcube-staging'
|
||||
home_library_install: False
|
||||
home_library_ver: 1.7.0-4.3.0-144852
|
||||
home_library_name: home-library-webapp
|
||||
home_library_filename: '{{ home_library_name }}-{{ home_library_ver }}.war'
|
||||
home_library_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ home_library_gcube_repository }}/org/gcube/data/access/{{ home_library_name }}/{{ home_library_ver}}/{{ home_library_filename }}'
|
||||
home_library_war_file: '{{ home_library_name }}.war'
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- block:
|
||||
|
||||
- name: Remove the installed HOME LIBRARY connector before upgrading
|
||||
file: dest={{ item }} state=absent
|
||||
with_items:
|
||||
- '{{ smartgears_instance_path }}/webapps/home-library-webapp'
|
||||
- '{{ smartgears_instance_path }}/webapps/home-library-webapp.war'
|
||||
when: smartgears_upgrade
|
||||
|
||||
- name: Get the HOME LIBRARY connector war file
|
||||
get_url: url={{ home_library_url }} dest={{ smartgears_instance_path }}/webapps/{{ home_library_war_file }}
|
||||
|
||||
# - name: Unpack the HOME LIBRARY connector war file
|
||||
# shell: mkdir {{ smartgears_instance_path }}/webapps/home-library-webapp ; cd {{ smartgears_instance_path }}/webapps/home-library-webapp ; jar xf {{ smartgears_instance_path }}/webapps/{{ home_library_war_file }}
|
||||
# args:
|
||||
# creates: '{{ smartgears_instance_path }}/webapps/home-library-webapp/WEB-INF/web.xml'
|
||||
|
||||
become: True
|
||||
become_user: '{{ smartgears_user }}'
|
||||
when: home_library_install
|
||||
tags: [ 'smartgears', 'home_library', 'tomcat' ]
|
Loading…
Reference in New Issue