diff --git a/defaults/main.yml b/defaults/main.yml index 6d7f2ed4..eeb003e2 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -40,12 +40,17 @@ designate_dashboard_git_install_branch: master trove_dashboard_git_repo: https://git.openstack.org/openstack/trove-dashboard trove_dashboard_git_install_branch: master +## The git source/branch for the Heat UI plugin +heat_dashboard_git_repo: https://git.openstack.org/openstack/heat-dashboard +heat_dashboard_git_install_branch: master + ## The packages to build from source (used in developer mode) horizon_developer_constraints: - "git+{{ horizon_git_repo }}@{{ horizon_git_install_branch }}#egg=horizon" - "git+{{ magnum_dashboard_git_repo }}@{{ magnum_dashboard_git_install_branch }}#egg=magnum-ui" - "git+{{ designate_dashboard_git_repo }}@{{ designate_dashboard_git_install_branch }}#egg=designate_dashboard" - "git+{{ trove_dashboard_git_repo }}@{{ trove_dashboard_git_install_branch }}#egg=trove_dashboard" + - "git+{{ heat_dashboard_git_repo }}@{{ heat_dashboard_git_install_branch }}#egg=heat_dashboard" # Name of the virtual env to deploy into horizon_venv_tag: untagged @@ -207,6 +212,9 @@ horizon_enable_trove_ui: False ## Designate UI Panel horizon_enable_designate_ui: False +## Heat UI Panel +horizon_enable_heat_ui: True + ## Neutron features to enable horizon_enable_neutron_lbaas: False horizon_enable_neutron_fwaas: False @@ -281,6 +289,7 @@ horizon_pip_packages: - django-appconf - django-openstack-auth - greenlet + - heat_dashboard - horizon - ironic-ui - magnum-ui diff --git a/vars/main.yml b/vars/main.yml index 111e3cba..588eff2f 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -14,6 +14,27 @@ # limitations under the License. _horizon_panels: + - src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1610_project_orchestration_panel.py" + path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1610_project_orchestration_panel.py" + state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}" + - src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1620_project_stacks_panel.py" + path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1620_project_stacks_panel.py" + state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}" + - src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1630_project_resource_types_panel.py" + path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1630_project_resource_types_panel.py" + state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}" + - src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1640_project_template_versions_panel.py" + path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1640_project_template_versions_panel.py" + state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}" + - src: "{{ horizon_lib_dir }}/heat_dashboard/enabled/_1650_project_template_generator_panel.py" + path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1650_project_template_generator_panel.py" + state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}" + - src: "{{ horizon_lib_dir }}/heat_dashboard/local_settings.d/_1699_orchestration_settings.py" + path: "{{ horizon_lib_dir }}/openstack_dashboard/local/local_settings.d/_1699_orchestration_settings.py" + state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}" + - src: "{{ horizon_lib_dir }}/heat_dashboard/conf/heat_policy.json" + path: "{{ horizon_lib_dir }}/openstack_dashboard/conf/heat_policy.json" + state: "{{ horizon_enable_heat_ui | ternary('link', 'absent') }}" - src: "{{ horizon_lib_dir }}/designatedashboard/enabled/_1710_project_dns_panel_group.py" path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_1710_project_dns_panel_group.py" state: "{{ horizon_enable_designate_ui | ternary('link', 'absent') }}"