From 1e26b05fe01febd24a0f4121335463abeb34eef6 Mon Sep 17 00:00:00 2001 From: "binhong.hua" Date: Fri, 31 Aug 2018 14:32:44 +0800 Subject: [PATCH] fix condition of kibana pull action Change-Id: Ia459d8b9925b22b23c90a33364da6ef40f4b1a70 --- ansible/roles/kibana/tasks/pull.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/kibana/tasks/pull.yml b/ansible/roles/kibana/tasks/pull.yml index 5a485214c8..af22338414 100644 --- a/ansible/roles/kibana/tasks/pull.yml +++ b/ansible/roles/kibana/tasks/pull.yml @@ -7,5 +7,5 @@ image: "{{ item.value.image }}" when: - inventory_hostname in groups[item.value.group] - - item.value.enabled is bool + - item.value.enabled | bool with_dict: "{{ kibana_services }}"