This commit is contained in:
mperochon 2017-06-02 17:31:28 +02:00
parent 7ce9d2f24c
commit 8d96a6e4e4

View file

@ -37,8 +37,9 @@
loop_control: loop_control:
loop_var: host_item loop_var: host_item
when: when:
- hostvars[host_item]["sync_file_stat"]["stat"]["exists"]|bool
- host_item in play_hosts - host_item in play_hosts
- hostvars[host_item]["sync_file_stat"]["stat"] is defined
- hostvars[host_item]["sync_file_stat"]["stat"]["exists"]|bool
- name: "sync_file | Combine all possible key file sync sources" - name: "sync_file | Combine all possible key file sync sources"
set_fact: set_fact: