This commit is contained in:
mperochon 2017-06-02 15:09:55 +02:00
parent cedfd1ca46
commit f98c99b651

View file

@ -34,6 +34,17 @@
debug: debug:
msg: "{{ hostvars }}" msg: "{{ hostvars }}"
- name: debug
debug:
var: sync_file_hosts | unique
- name: moar debug
debug:
msg: "{{ host_item }}"
with_items: "{{ sync_file_hosts | unique }}"
loop_control:
loop_var: host_item
- name: "sync_file | Combine all possible file sync sources" - name: "sync_file | Combine all possible file sync sources"
set_fact: set_fact:
sync_file_srcs: "{{ sync_file_srcs|default([]) + [host_item] }}" sync_file_srcs: "{{ sync_file_srcs|default([]) + [host_item] }}"