Hello Lavanya,

Greetings!

Hope the attached pattern will work for you.

copy:
  src: /path-of-the-file (path of the file that's need to copy)
  dest: /path thats need to copy

Regards,
Jayanthreddy


On Mon, May 10, 2021, 5:45 PM Lavanya Koneru <lkoneru2...@gmail.com> wrote:

> I am trying to copy files from ansible to remote host with pattern matching
> Giving wildcard pattern is not working for copy
>
> copy:
> src: "{{ item }}"
> dest: /ReleaseMigration
> mode: 0600
> with_fileglob:
> - "/dql_infashared/Scripts/Deployment/script/*"
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-devel/17339abf-1b26-48a9-bc9c-55c93553b866n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-devel/17339abf-1b26-48a9-bc9c-55c93553b866n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/CAKEUuo4EOGV89vc%2Bq_tG%3DTECBs-yNvybg%2BHR-Ojb9pRG-6xNdg%40mail.gmail.com.

Reply via email to