ansible-roles/smartgears/gcubeapp-setup/templates/gcube-app.xml.j2

20 lines
585 B
Django/Jinja

<application mode="online">
<name>{{ item.1.webapp_name }}</name>
<group>{{ item.1.webapp_group }}</group>
<version>{{ item.1.version }}</version>
{% if item.1.description is defined %}
<description> "{{ item.1.description }}" </description>
{% endif %}
{% if item.1.persistence_location is defined %}
<persistence location="{{ item.1.persistence_location }}"/>
{% endif %}
{% if item.1.exclude_handlers is defined %}
{% for eh in item.1.exclude_handlers %}
<exclude {{ eh }}</exclude>
{% endfor %}
{% endif %}
</application>