From de4c13058e862da56319acd14f0e8d84f37ae492 Mon Sep 17 00:00:00 2001
From: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Date: Mon, 28 Nov 2016 13:07:08 +0800
Subject: [PATCH] Enable sahara dashboard when enable_sahara is yes

Depends-On: I0ee4672252710605970751efa756a2dd405ad8c8
Change-Id: I066178554c6efcb84e6c1129b82502a567191553
Closes-Bug: #1645195
---
 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 3dd0945221..19c1007fdd 100644
--- a/ansible/roles/horizon/tasks/start.yml
+++ b/ansible/roles/horizon/tasks/start.yml
@@ -8,6 +8,7 @@
     environment:
       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' }}"
     volumes:
       - "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro"
       - "/etc/localtime:/etc/localtime:ro"