diff --git a/ansible/roles/horizon/templates/local_settings.j2 b/ansible/roles/horizon/templates/local_settings.j2 index 16b2bf7d32..3b7f86aa27 100644 --- a/ansible/roles/horizon/templates/local_settings.j2 +++ b/ansible/roles/horizon/templates/local_settings.j2 @@ -845,6 +845,9 @@ KEY_MANAGER = { 'project_domain_name': '{{ default_project_domain_name }}' } {% endif %} +{% if kolla_base_distro in ['debian', 'ubuntu'] and horizon_install_type == 'binary' %} +STATIC_ROOT = "/var/lib/openstack-dashboard/static/" +{% endif %} # Allow operators to overwrite variables (LP: #1769970). from .custom_local_settings import *