fix
This commit is contained in:
parent
cedfd1ca46
commit
f98c99b651
1 changed files with 11 additions and 0 deletions
|
@ -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] }}"
|
||||||
|
|
Loading…
Reference in a new issue