Besides the copy module, there is the synchronize module for syncing many files in a directory, http://docs.ansible.com/ansible/synchronize_module.html. Feel free to review each of the modules that help with managing files, http://docs.ansible.com/ansible/list_of_files_modules.html
On Thursday, March 3, 2016 at 4:34:12 AM UTC-5, Deepa Yr wrote: > > I have few files in control machine ie host1. > My playbook/tasks are running on host2. > I need to copy the files from host1 to host2. > > Please let me know how it can be done > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a6e7be11-cab2-4a84-87b2-ea4428762d44%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
