From ad3085bffd3ad3fa18a2b486a55e64e6ca1410ae Mon Sep 17 00:00:00 2001
From: liyingjun <yingjun.li@kylin-cloud.com>
Date: Fri, 2 Dec 2016 15:05:02 +0800
Subject: [PATCH] Enable searchlight ui when searchlight enabled

Depends-On: Ie65c374dd319e38fe50fc3dca15c64d07edc8e1a
Change-Id: I9867f1b96b732b473fe043ab57e3338582f7dd9a
Closes-bug: #1646690
---
 ansible/roles/horizon/tasks/start.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ansible/roles/horizon/tasks/start.yml b/ansible/roles/horizon/tasks/start.yml
index f4e086320c..f7140f350e 100644
--- a/ansible/roles/horizon/tasks/start.yml
+++ b/ansible/roles/horizon/tasks/start.yml
@@ -11,6 +11,7 @@
       ENABLE_MANILA: "{{ 'yes' if  enable_manila | bool else 'no' }}"
       ENABLE_NEUTRON_LBAAS: "{{ 'yes' if  enable_neutron_lbaas | bool else 'no' }}"
       ENABLE_SAHARA: "{{ 'yes' if enable_sahara | bool else 'no' }}"
+      ENABLE_SEARCHLIGHT: "{{ 'yes' if enable_searchlight | bool else 'no' }}"
       ENABLE_SENLIN: "{{ 'yes' if enable_senlin | bool else 'no' }}"
       ENABLE_TROVE: "{{ 'yes' if enable_trove | bool else 'no' }}"
       ENABLE_ZAQAR: "{{ 'yes' if enable_zaqar | bool else 'no' }}"