openstack-ansible-os_horizon/templates/horizon_apache_ports.conf.j2
Dmitriy Rabotyagov 9f9b66a985 Allow to configure horizon bind address
Added variable horizon_bind_address which allows to define address
on which horizon will be listening.

horizon_listen_ports variable was converted to dict()
and used in apache vhost template.

As an addition metal jobs were added for horizon CI.

Depends-On: https://review.opendev.org/681722
Change-Id: I11c3edec6d58e39da8de5e214fab9731eb5df9e2
2019-09-19 09:32:09 +00:00

6 lines
161 B
Django/Jinja

# {{ ansible_managed }}
{% for horizon_listen_port in horizon_listen_ports.values() %}
Listen {{ horizon_bind_address }}:{{ horizon_listen_port }}
{% endfor %}