openstack-ansible-os_horizon/vars/source_install.yml
Dmitriy Rabotyagov 3288a587f9 Link plugin settings extension separately
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
2024-09-24 15:11:58 +00:00

35 lines
992 B
YAML

---
# Copyright 2018, SUSE LINUX GmbH.
#
# 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_package_list: >-
{{
horizon_distro_packages | union(
(
(horizon_use_uwsgi | bool) | ternary([], horizon_apache_distro_packages)
)
)
}}
_horizon_bin: "/openstack/venvs/horizon-{{ horizon_venv_tag }}/bin"
_dashboard_panels_location:
- "/enabled"
- "/conf"
- "/local/enabled"
_dashboard_settings_location:
- "/local_settings.d"
- "/local/local_settings.d"