3288a587f9
At the moment Horizon plugins' local_settings are being symlinked to the enabled folder, which is not entirely correct. Today Horizon will produce a warning message during compression in case a settings file will be present in enabled folder, ie: WARNING:root:Skipping openstack_dashboard.local.enabled._1699_orchestration_settings because it doesn't have DASHBOARD, PANEL, PANEL_GROUP, or FEATURE defined. To avoid such warning settings files are being search and symlinked independently now. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/930272 Change-Id: I5b50bad91f00cd4f5b5c36e30753e88425cf9d13
62 lines
2.2 KiB
YAML
62 lines
2.2 KiB
YAML
---
|
|
# 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_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 }}"
|