From 8cada351b0cdd1b014ae3e0e4b786463099d076c Mon Sep 17 00:00:00 2001
From: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Date: Mon, 28 Nov 2016 14:37:43 +0800
Subject: [PATCH] Enable cloudkitty ui when enable_cloudkitty is yes

Change-Id: If4a9e1db02e89362b01181149327983fc1c556f2
Depends-On: I6bb33de6d19ba42710e6d4138059c23076b759ec
Closes-Bug: #1641053
---
 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 967487abb..c303a0358 100644
--- a/ansible/roles/horizon/tasks/start.yml
+++ b/ansible/roles/horizon/tasks/start.yml
@@ -6,6 +6,7 @@
     image: "{{ horizon_image_full }}"
     name: "horizon"
     environment:
+      ENABLE_CLOUDKITTY: "{{ 'yes' if enable_cloudkitty | 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' }}"
-- 
GitLab