forked from ISTI-ansible-roles/ansible-roles
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:
parent
6d9638b49d
commit
861672bab1
|
@ -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) }}'
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue