There is the "flat" option:  http://docs.ansible.com/fetch_module.html

- James

On Wednesday, October 8, 2014 9:58:18 AM UTC-4, Samnang Sen wrote:
>
> This works except it creates additional subdirectories within the 
> destination. I just want to copy into my current working directory where 
> I'm running ansible from.
>
>
> # ansible all -m fetch -a "src=/tmp/pci.{{ inventory_hostname }}.txt 
> dest=pci-{{ inventory_hostname }}.txt"
>
>

-- 
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/f4b4963c-6a43-43be-95ac-d9d503463eba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to