--
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-deve...@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.
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 copyRegards,Jayanthreddy
On Mon, May 10, 2021, 5:45 PM Lavanya Koneru <lkone...@gmail.com> wrote:
I am trying to copy files from ansible to remote host with pattern matchingGiving 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+unsubscribe@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.
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 <reddyja...@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 copyRegards,JayanthreddyOn Mon, May 10, 2021, 5:45 PM Lavanya Koneru <lkone...@gmail.com> wrote:I am trying to copy files from ansible to remote host with pattern matchingGiving 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-deve...@googlegroups.com.