forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/gcubeapp-setup: More parameters in the gcube-app.xml template.
This commit is contained in:
parent
a5f3856141
commit
d393a18363
|
@ -2,5 +2,6 @@
|
|||
gcubeapp_setup: False
|
||||
|
||||
#gcubeapp_webapps:
|
||||
# - { webapp_name: '', version: '' }
|
||||
# - { webapp_name: '', version: '', webapp_group: '', description: '', exclude_handlers: [ '' ] }
|
||||
|
||||
|
||||
|
|
|
@ -3,10 +3,17 @@
|
|||
<name>{{ item.1.webapp_name }}</name>
|
||||
<group>{{ item.1.webapp_group }}</group>
|
||||
<version>{{ item.1.version }}</version>
|
||||
{% if item.1.description is defined %}
|
||||
<description location="{{ item.1.description }}"/>
|
||||
{% endif %}
|
||||
{% if item.1.persistence_location is defined %}
|
||||
<persistence location="{{ item.1.persistence_location }}"/>
|
||||
{% endif %}
|
||||
<exclude>/*</exclude>
|
||||
{% if item.1.exclude_handlers is defined %}
|
||||
{% for eh in exclude_handlers %}
|
||||
<exclude {{ eh }}</exclude>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
</application>
|
||||
|
||||
|
|
Loading…
Reference in New Issue