diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 1c8a9089d8..b2a5110861 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -335,6 +335,7 @@ enable_grafana: "no" enable_heat: "yes" enable_horizon: "yes" enable_horizon_cloudkitty: "{{ enable_cloudkitty | bool }}" +enable_horizon_designate: "{{ enable_designate | bool }}" enable_horizon_freezer: "{{ enable_freezer | bool }}" enable_horizon_ironic: "{{ enable_ironic | bool }}" enable_horizon_karbor: "{{ enable_karbor | bool }}" diff --git a/ansible/roles/horizon/defaults/main.yml b/ansible/roles/horizon/defaults/main.yml index 206913b2ef..e1f56882a3 100644 --- a/ansible/roles/horizon/defaults/main.yml +++ b/ansible/roles/horizon/defaults/main.yml @@ -9,6 +9,7 @@ horizon_services: image: "{{ horizon_image_full }}" environment: ENABLE_CLOUDKITTY: "{{ 'yes' if enable_horizon_cloudkitty | bool else 'no' }}" + ENABLE_DESIGNATE: "{{ 'yes' if enable_horizon_designate | bool else 'no' }}" ENABLE_FREEZER: "{{ 'yes' if enable_horizon_freezer | bool else 'no' }}" ENABLE_IRONIC: "{{ 'yes' if enable_horizon_ironic | bool else 'no' }}" ENABLE_KARBOR: "{{ 'yes' if enable_horizon_karbor | bool else 'no' }}" diff --git a/ansible/roles/horizon/tasks/config.yml b/ansible/roles/horizon/tasks/config.yml index 008d85a77e..a2ef280c2f 100644 --- a/ansible/roles/horizon/tasks/config.yml +++ b/ansible/roles/horizon/tasks/config.yml @@ -64,6 +64,7 @@ - { name: "ceilometer", enabled: "{{ enable_ceilometer }}" } - { name: "cinder", enabled: "{{ enable_cinder }}" } - { name: "cloudkitty", enabled: "{{ enable_horizon_cloudkitty }}" } + - { name: "designate", enabled: "{{ enable_horizon_designate }}" } - { name: "freezer", enabled: "{{ enable_horizon_freezer }}" } - { name: "glance", enabled: "{{ enable_glance }}" } - { name: "heat", enabled: "{{ enable_heat }}" } diff --git a/ansible/roles/horizon/templates/horizon.json.j2 b/ansible/roles/horizon/templates/horizon.json.j2 index 3436421a29..0820cf5520 100644 --- a/ansible/roles/horizon/templates/horizon.json.j2 +++ b/ansible/roles/horizon/templates/horizon.json.j2 @@ -5,6 +5,7 @@ ( 'ceilometer', enable_ceilometer ), ( 'cinder', enable_cinder ), ( 'cloudkitty', enable_horizon_cloudkitty ), + ( 'designate', enable_horizon_designate ), ( 'freezer', enable_horizon_freezer ), ( 'glance', enable_glance ), ( 'heat', enable_heat ), diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml index 027f550ef7..0c262d2f9a 100644 --- a/etc/kolla/globals.yml +++ b/etc/kolla/globals.yml @@ -143,6 +143,7 @@ kolla_internal_vip_address: "10.10.10.254" #enable_heat: "yes" #enable_horizon: "yes" #enable_horizon_cloudkitty: "{{ enable_cloudkitty | bool }}" +#enable_horizon_designate: "{{ enable_designate | bool }}" #enable_horizon_freezer: "{{ enable_freezer | bool }}" #enable_horizon_ironic: "{{ enable_ironic | bool }}" #enable_horizon_karbor: "{{ enable_karbor | bool }}"