../library/roles/smartgears/storage_hub/defaults/main.yml added net task for storagehub.xml file

../library/roles/smartgears/storage_hub/defaults/main.yml update service version
../library/roles/smartgears/storage_hub/templates/storagehub.xml.j2 fix template
This commit is contained in:
Roberto Cirillo 2018-06-07 10:07:11 +02:00
parent d8318e0856
commit 0dc04ad2f9
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
---
storage_hub_install: False
storage_hub_upgrade: False
storage_hub_version: 1.0.0-4.11.1-167790
storage_hub_version: 1.0.0-4.11.1-167555
storage_hub_name: storagehub
storage_hub_group_id: org.gcube.data.access

View File

@ -59,9 +59,9 @@
with_items: '{{ jackrabbit_config_files }}'
notify: Restart smartgears
# - name: Install the additional service context default file
# template: src=storagehub.xml.j2 dest={{ smartgears_instance_path }}/conf/Catalina/localhost/storagehub.xml mode=0664
# notify: Restart smartgears
- name: Install the additional service context default file
template: src=storagehub.xml.j2 dest={{ smartgears_instance_path }}/conf/Catalina/localhost/storagehub.xml mode=0664
notify: Restart smartgears
become: True
become_user: '{{ smartgears_user }}'

View File

@ -4,8 +4,8 @@
auth="Container"
type="javax.jcr.Repository"
factory="org.apache.jackrabbit.core.jndi.BindableRepositoryFactory"
configFilePath="'{{ storagehub_config_file_path }}'"
repHomeDir="'{{ storagehub_rep_home_dir }}'"
configFilePath="{{ storagehub_config_file_path }}"
repHomeDir="{{ storagehub_rep_home_dir }}"
/>
</Context>