From c89cbff6a225de678d3ae7a3941169a9661fb49a Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Sat, 5 Nov 2016 02:28:02 +0800 Subject: Fix neutron lbaas dashboard Load neutron lbaas dynamic when neutron lbaas is enabled. Change-Id: I47913824fea87b721f254633c16d1dc6903b4f5d Closes-Bug: #1639325 --- ansible/roles/horizon/tasks/start.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ansible') diff --git a/ansible/roles/horizon/tasks/start.yml b/ansible/roles/horizon/tasks/start.yml index e178b92a2..746cae568 100644 --- a/ansible/roles/horizon/tasks/start.yml +++ b/ansible/roles/horizon/tasks/start.yml @@ -5,6 +5,8 @@ common_options: "{{ docker_common_options }}" image: "{{ horizon_image_full }}" name: "horizon" + environment: + ENABLE_NEUTRON_LBAAS: "{{ 'yes' if enable_neutron_lbaas | bool else 'no' }}" volumes: - "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro" -- cgit v1.2.3