From 5076268296b7b56bbb4cffac9ba13809e6f8b955 Mon Sep 17 00:00:00 2001
From: prameswar <engg.pram1@gmail.com>
Date: Sun, 6 Nov 2016 00:39:46 +0530
Subject: [PATCH] when condition corrected in ceilometer config.yml

Closes-bug: #1639492

Change-Id: If27f246db539426a64377db5fcbe8e62eb85f4d0
---
 ansible/roles/ceilometer/tasks/config.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/ceilometer/tasks/config.yml b/ansible/roles/ceilometer/tasks/config.yml
index ef990c447..63c77f38d 100644
--- a/ansible/roles/ceilometer/tasks/config.yml
+++ b/ansible/roles/ceilometer/tasks/config.yml
@@ -69,4 +69,4 @@
     src: "{{ node_custom_config }}/ceilometer/policy.json"
     dest: "{{ node_config_directory }}/ceilometer/policy.json"
   when:
-    ceilometer_policy.stat.exist
+    ceilometer_policy.stat.exists
-- 
GitLab