From cd2ccfcd922b44787cb287f7db4a537e6c5d7324 Mon Sep 17 00:00:00 2001
From: Jeffrey Zhang <zhang.lei.fly@gmail.com>
Date: Fri, 16 Mar 2018 14:45:00 +0800
Subject: [PATCH] Fix wrong register variable name in ceilometer

Change-Id: If968e05459e38fe7a8c676e4480af22cc1de0b49
Closes-Bug: #1756221
---
 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 955a29db51..23154cc6ba 100644
--- a/ansible/roles/ceilometer/tasks/config.yml
+++ b/ansible/roles/ceilometer/tasks/config.yml
@@ -149,7 +149,7 @@
     dest: "{{ node_config_directory }}/{{ item.key }}/{{ ceilometer_policy_file }}"
     mode: "0660"
   become: true
-  register: policy_jsons
+  register: ceilometer_policy_overwriting
   when:
     - ceilometer_policy_file is defined
     - inventory_hostname in groups[item.value.group]