library/roles/smartgears/ckan_connector/templates/ckan-web.xml.j2: Set the hostname value in the same way is set into container.xml
This commit is contained in:
parent
ec43ae70fe
commit
2f2a58dcce
|
@ -9,7 +9,11 @@
|
|||
</context-param>
|
||||
<context-param>
|
||||
<param-name>hostname</param-name>
|
||||
<param-value>{{ ansible_fqdn }}</param-value>
|
||||
{% if hostname is defined %}
|
||||
<param-value>{{ hostname }}</param-value>
|
||||
{% else %}
|
||||
<param-value>{{ smartgears_hostname }}</param-value>
|
||||
{% endif %}
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>internalPort</param-name>
|
||||
|
|
Loading…
Reference in New Issue