From f301bba26cedac7c3231d5cb5af46df39cc4aeb6 Mon Sep 17 00:00:00 2001
From: caoyuan <cao.yuan@99cloud.net>
Date: Sun, 4 Dec 2016 23:00:23 +0800
Subject: [PATCH] Enable watcher dashboard when enable_watcher is yes

Depends-On: Ief5898f6bf1caa3a7fe6b2a96be2bdb79e402f28

Change-Id: I2ea4bd9308637056c6cb1b1d515efd1020a60d1b
Closes-Bug: #1647162
---
 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 e6a1b8e84e..e50e57c16c 100644
--- a/ansible/roles/horizon/tasks/start.yml
+++ b/ansible/roles/horizon/tasks/start.yml
@@ -15,6 +15,7 @@
       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_WATCHER: "{{ 'yes' if enable_watcher | bool else 'no' }}"
     volumes:
       - "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro"
       - "/etc/localtime:/etc/localtime:ro"