From 2bdd0299b81010679c9bf81aa7874c7a5bbbb33f Mon Sep 17 00:00:00 2001
From: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Date: Mon, 28 Nov 2016 00:28:55 +0800
Subject: [PATCH] Enable ironic ui when enable_ironic is yes

Depends-On: Ie094b92b9a8e20696cee84698013d09306dd6e7f
Change-Id: Ib1bbf1e5cb1536a41ab8c3082026ba90811f8df7
Closes-Bug: #1645104
---
 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..7cc39c488d 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_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' }}"
     volumes: