Issue is I need to copy all the files matching the pattern like data* to destination host path
On Monday, May 10, 2021, jayanth reddy <reddyjayant...@gmail.com> wrote: > 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> >> . >> > -- Thanks Lavanya -- 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/CABjnY2ED4EBjjryVEGVj26%2BxE22SHgdDePsD2OSN4C18QY%2BgKA%40mail.gmail.com.