Execution
Date 08 Dec 2025 13:57:07 +0000
Duration 00:24:46.17
Controller aio1.openstack.local
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.12.11
Summary
12 Hosts
1505 Tasks
1497 Results
32 Plays
487 Files
0 Records

File: /home/zuul/src/opendev.org/openstack/openstack-ansible-os_horizon/vars/main.yml

---
# Copyright 2017, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

_horizon_translations_pull:
  - project: "horizon"
    branch: "{{ horizon_translations_project_version }}"
    enabled: true
    module:
      - horizon
      - openstack_auth
      - openstack_dashboard
  - project: "designate-dashboard"
    branch: "{{ horizon_translations_project_version }}"
    enabled: true
    module: designatedashboard
  - project: "heat-dashboard"
    branch: "{{ horizon_translations_project_version }}"
    enabled: "{{ horizon_enable_heat_ui }}"
    module: heat_dashboard
  - project: "magnum-ui"
    branch: "{{ horizon_translations_project_version }}"
    enabled: true
    module: magnum_ui
  - project: "trove-dashboard"
    branch: "{{ horizon_translations_project_version }}"
    enabled: true
    module: trove_dashboard

horizon_dashboard_panel_dir: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled"
horizon_dashboard_settings_dir: "{{ horizon_lib_dir }}/openstack_dashboard/local/local_settings.d"
horizon_manage: "{{ horizon_bin }}/horizon-manage.py"

_horizon_httpd_vhost_ssl: |-
  {% set ssl_options = {} %}
  {% if horizon_user_ssl_cert and horizon_user_ssl_key %}
  {%   set _ = ssl_options.update({'cert': horizon_user_ssl_cert, 'key': horizon_user_ssl_key}) %}
  {%   if horizon_user_ssl_ca_cert is defined and horizon_user_ssl_ca_cert %}
  {%     set _ = ssl_options.update({'ca': horizon_user_ssl_ca_cert}) %}
  {%   endif %}
  {% else %}
  {%   set _ = ssl_options.update({'san': horizon_pki_san}) %}
  {% endif %}
  {{ ssl_options }}

_horizon_uwsgi_ini_requirements:
  uwsgi:
    static-map: "/static={{ horizon_lib_dir }}/static/"

_horizon_uwsgi_ini_overrides: "{{ _horizon_uwsgi_ini_requirements | combine(horizon_uwsgi_ini_overrides, recursive=True) }}"

uwsgi_horizon_services:
  horizon-dashboard:
    wsgi_path: "{{ horizon_lib_wsgi_file }}"
    wsgi_venv: "{{ horizon_bin | dirname }}"
    uwsgi_uid: "{{ horizon_system_user_name }}"
    uwsgi_guid: "{{ horizon_system_group_name }}"
    uwsgi_processes: 1
    uwsgi_threads: "{{ horizon_wsgi_threads }}"
    uwsgi_bind_address: "{{ horizon_bind_address }}"
    uwsgi_port: 80
    uwsgi_overrides: "{{ _horizon_uwsgi_ini_overrides }}"