According to the comments on the 'src' parameter of the module on https://docs.ansible.com/ansible/latest/modules/fetch_module.html:
The file on the remote system to fetch. This must be a file, not a directory. Recursive fetching may be supported in a later release. On Mon, 6 Jan 2020 at 08:57, Vivek Kothawale <[email protected]> wrote: > > Hi Team > > > While working with ansible fetch feature which is one of the best feature I > found in ansible, I found that ansible fetch will only pull in the single > file form remote machine it can not fetch (pull) entire directory contents > > > form remote machine which I found while running playbook I got below message > fetch cannot work on directories, not transferring, ignored",Is this some > kind of ansible fetch drawback or will this be resolve in new > > > feature ? > > > Please let me know > > > Thanks, > Vivek > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/7d56e222-6b5d-46fb-b14d-bce093b83ba8%40googlegroups.com. -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwPwxD7OviP8%3DJGDqAGzZugKi5EZz25PS-jkTdO%2BX88TCg%40mail.gmail.com.
