Fix 'kibana_config_jsons' is undefined

Change-Id: I88f84e21ec6ae6dd98f672112f34be8d53f2e2ad
This commit is contained in:
zhubingbing 2017-02-10 10:08:58 +00:00
parent 28f6e67da0
commit 553a05c9d0

View File

@ -13,7 +13,7 @@
template:
src: "{{ item.key }}.json.j2"
dest: "{{ node_config_directory }}/{{ item.key }}/config.json"
register: kibana_config_json
register: kibana_config_jsons
when:
- inventory_hostname in groups[item.value.group]
- item.value.enabled | bool