Hi,
I just found fetch does not work very well with filenames has spaces in them. so I wrote a test script.
Hi,
I just found fetch does not work very well with filenames has spaces in them. so I wrote a test script.
As an initial question, what is ansible --version ?
Ran into this same issue today on the latest devel branch. When fetching a file with a space in the name and “fail_on_missing: true” I get the error: “the remote file does not exist”. Removing the space from the filename fixes it. Here’s what my task looks like:
fetch:
src: “file_with space”
dest: “/tmp/dest”
flat: yes
fail_on_missing: yes