ansible-roles/smartgears/smartgears/templates/container.xml.j2

35 lines
1.1 KiB
Django/Jinja

<container mode='{{ smartgears_mode }}'>
<hostname>{{ smartgears_hostname }}</hostname>
{% if setup_nginx %}
{% if https_port is defined %}
{% if http_redirect_to_https is defined and http_redirect_to_https %}
<port>{{ https_port }}</port>
{% else %}
<port>{{ http_port }}</port>
{% endif %}
{% else %}
{%if http_port is defined %}
<port>{{ http_port }}</port>
{% endif %}
{% endif %}
{% else %}
<port>{{ item.http_port }}</port>
{% endif %}
<site>
<country>{{ smartgears_country }}</country>
<location>{{ smartgears_location }}</location>
<latitude>{{ smartgears_latitude }}</latitude>
<longitude>{{ smartgears_longitude }}</longitude>
</site>
<authorizeChildrenContext>{{ smartgears_authorized_on_all_scopes }}</authorizeChildrenContext>
<property name='SmartGearsDistributionBundle' value='UnBundled' />
<property name='SmartGearsDistribution' value='{{ smartgears_distribution_version }}' />
<publication-frequency>{{ smartgears_publication_frequency }}</publication-frequency>
<infrastructure>{{ smartgears_infrastructure_name }}</infrastructure>