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 }}"