Hi,
I just found fetch does not work very well with filenames has spaces in
them. so I wrote a test script.
######################################################################
name: report | fetch auditusage report from server
fetch: src="{{ item }}"
dest=/tmp/fetched
with_items:
- /tmp/test test.txt
######################################################################
basically "test.txt" works, "test test.txt" does not.
and here is the error message, looks like it just failed to create the file
in local folder, therefore md5sum mismatched. (the whole folder structure
on remote server was created locally)
######################################################################
failed: [****.****.com] => (item=/tmp/test test.txt) => {"dest":
"/tmp/fetched/****.****.com/tmp/test test.txt", "failed": true, "file":
"/tmp/test test.txt", "item": "/tmp/test test.txt", "md5sum": null,
"remote_md5sum": "6fa871334b2e8715ef897730f8460553"}
msg: md5 mismatch
######################################################################
any workaround ?
~
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/a3f1fdd5-fe0b-4dbb-ae13-908a2063f8d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.