openstack-ansible-os_horizon/vars/main.yml

69 lines
2.4 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: "sahara-dashboard"
branch: "{{ horizon_translations_project_version }}"
enabled: True
module: sahara_dashboard
- 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: "murano-dashboard"
branch: "{{ horizon_translations_project_version }}"
enabled: True
module: murano_dashboard
- 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_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 }}"