From 316f3ea4a9c3798b6f52baba20040340a81c0529 Mon Sep 17 00:00:00 2001
From: zhubingbing <1392607554@qq.com>
Date: Fri, 2 Dec 2016 06:14:47 +0000
Subject: [PATCH] Enable designate dashboard when enable_designate is yes

Depends-On: Ic28d984dd2ca3db3633ee535d9475907fa4e2d3b

Change-Id: Ia0b874e3397d1f73dab15e0957e75814bcdfd3ac
Closes-Bug: #1646688
---
 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 e3f8270ff8..9ce913b1fe 100644
--- a/ansible/roles/horizon/tasks/start.yml
+++ b/ansible/roles/horizon/tasks/start.yml
@@ -7,6 +7,7 @@
     name: "horizon"
     environment:
       ENABLE_CLOUDKITTY: "{{ 'yes' if enable_cloudkitty | bool else 'no' }}"
+      ENABLE_DESIGNATE: "{{ 'yes' if enable_designate | bool else 'no' }}"
       ENABLE_IRONIC: "{{ 'yes' if enable_ironic | bool else 'no' }}"
       ENABLE_MANILA: "{{ 'yes' if  enable_manila | bool else 'no' }}"
       ENABLE_NEUTRON_LBAAS: "{{ 'yes' if  enable_neutron_lbaas | bool else 'no' }}"