Enable Heat in Horizon if Heat is installed

Change-Id: I6f28fe21e246efa909887417967e4fbc24f6f41c
Depends-on: Id6875b44ac5aba88d92d4765b7ee6dc961d0b595
This commit is contained in:
Adrien Cunin 2018-01-26 16:37:52 +01:00
parent 0863eb7b21
commit add6ba1207

View File

@ -16,6 +16,7 @@
horizon_external_ssl: "{{ openstack_external_ssl }}" horizon_external_ssl: "{{ openstack_external_ssl }}"
horizon_service_region: "{{ service_region }}" horizon_service_region: "{{ service_region }}"
horizon_enable_cinder_backup: "{{ hostvars['localhost']['cinder_service_backup_program_enabled'] }}" horizon_enable_cinder_backup: "{{ hostvars['localhost']['cinder_service_backup_program_enabled'] }}"
horizon_enable_heat_ui: "{{ (groups['heat_all'] is defined) and (groups['heat_all'] | length > 0) }}"
horizon_enable_ironic_ui: "{{ (groups['ironic_all'] is defined) and (groups['ironic_all'] | length > 0) }}" horizon_enable_ironic_ui: "{{ (groups['ironic_all'] is defined) and (groups['ironic_all'] | length > 0) }}"
horizon_enable_magnum_ui: "{{ (groups['magnum_all'] is defined) and (groups['magnum_all'] | length > 0) }}" horizon_enable_magnum_ui: "{{ (groups['magnum_all'] is defined) and (groups['magnum_all'] | length > 0) }}"
horizon_enable_designate_ui: "{{ (groups['designate_all'] is defined) and (groups['designate_all'] | length > 0) }}" horizon_enable_designate_ui: "{{ (groups['designate_all'] is defined) and (groups['designate_all'] | length > 0) }}"