From a96d3a2ebb731a7f9ab4d823d54e9236c6fa06ac Mon Sep 17 00:00:00 2001 From: mperochon Date: Fri, 2 Jun 2017 16:10:44 +0200 Subject: [PATCH] fix --- roles/vault/tasks/shared/sync_file.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/vault/tasks/shared/sync_file.yml b/roles/vault/tasks/shared/sync_file.yml index 6238d26f2..4ea63be90 100644 --- a/roles/vault/tasks/shared/sync_file.yml +++ b/roles/vault/tasks/shared/sync_file.yml @@ -39,6 +39,8 @@ var: sync_file_hosts | unique - name: moar debug + set_fact: + sync_file_srcs: "{{ sync_file_srcs|default([]) + [host_item] }}" debug: msg: "{{ hostvars[host_item]['sync_file_stat'] }}" with_items: "{{ sync_file_hosts | unique }}"