Hello,
With win_stat i can check if a path exists and then set a condition after
win_stat:
path: <some path>
register: A
win_robocopy:
src: <>
dest: <>
flags: <>
when: A.stat.exist
My question is, how to achieve this with win find?
win_find:
path: <>
register: A
debug:
msg= all files are found
when: (?)
Any help would be appreciated