Re: [ansible-project] Re: How to copy directory from remote machine to ansible machine

2019-04-03 Thread Brian Coca
https://docs.ansible.com/ansible/latest/modules/synchronize_module.html see 'mode' specifically the 'pull' value -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emai

[ansible-project] Re: How to copy directory from remote machine to ansible machine

2019-04-03 Thread Tony Chia
If you don't want the complete path, you can set "flat: yes" in the fetch task and it will flatten the directory for you. --Tony On Wednesday, April 3, 2019 at 4:08:42 AM UTC-7, amit ahuja wrote: > > Hi, > > i want to know if there is any way to copy complete directory from remote > machine