I meant to reply to my original thread and say flat didn't change anything.
On Oct 8, 2014 10:59 AM, "James Martin" <jmar...@ansible.com> wrote:

> 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 a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/OAPP-AHrCio/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f4b4963c-6a43-43be-95ac-d9d503463eba%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f4b4963c-6a43-43be-95ac-d9d503463eba%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAPTHpVSuF1sdN6cOy7FH9daxXDQLvTdaXcDk-8DZJi8f2kyLQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to