d4science-ghn-cluster/group_vars/geonetwork_prod_smartgears: Install the geonetwork app, for real.

library/roles/smartgears/gcubeapp-setup: Fix the installation path.
This commit is contained in:
Andrea Dell'Amico 2017-05-09 16:22:22 +02:00
parent 6d9638b49d
commit 861672bab1
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: Install the gcube-app file to make the webapp smartgears compatible - name: Install the gcube-app file to make the webapp smartgears compatible
template: src=gcube-app.xml.j2 dest={{ item.0.instance_path }}/webapps/{{ item.1.webapp_name }}/WEB-INF/gcube-app.xml owner={{ item.0.user }} group={{ item.0.user }} template: src=gcube-app.xml.j2 dest={{ item.0.instance_path }}/webapps/{{ item.1.webapp_name | lower }}/WEB-INF/gcube-app.xml owner={{ item.0.user }} group={{ item.0.user }}
with_together: with_together:
- '{{ tomcat_m_instances }}' - '{{ tomcat_m_instances }}'
- '{{ gcubeapp_webapps | default (omit) }}' - '{{ gcubeapp_webapps | default (omit) }}'

View File

@ -10,7 +10,7 @@
<persistence location="{{ item.1.persistence_location }}"/> <persistence location="{{ item.1.persistence_location }}"/>
{% endif %} {% endif %}
{% if item.1.exclude_handlers is defined %} {% if item.1.exclude_handlers is defined %}
{% for eh in exclude_handlers %} {% for eh in item.1.exclude_handlers %}
<exclude {{ eh }}</exclude> <exclude {{ eh }}</exclude>
{% endfor %} {% endfor %}
{% endif %} {% endif %}