forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/smartgears: Fix the get-scopes script so that it takes the right port.
This commit is contained in:
parent
8d541d0dcb
commit
4a9c7ddee3
|
@ -60,6 +60,7 @@
|
|||
|
||||
- name: Install the script that fetches the scope tokens
|
||||
template: src=get-scopes.j2 dest=/usr/local/bin/get-scopes owner=root group={{ smartgears_user }} mode=0750
|
||||
with_items: '{{ tomcat_m_instances }}'
|
||||
when: gcube_admin_token is defined
|
||||
tags: [ 'smartgears', 'smartgears_conf', 'tomcat' ]
|
||||
|
||||
|
|
|
@ -5,11 +5,17 @@ TOKEN=
|
|||
|
||||
{%if setup_nginx %}
|
||||
{%if https_port is defined %}
|
||||
{% if http_redirect_to_https is defined and http_redirect_to_https %}
|
||||
HTTP_PORT={{ https_port }}
|
||||
{% else %}
|
||||
HTTP_PORT={{ http_port }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{%if http_port is defined %}
|
||||
HTTP_PORT={{ http_port }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
HTTP_PORT={{ item.http_port }}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue