# remote\_src and template\_host for template module not working for me

**URL:** <https://forum.ansible.com/t/remote-src-and-template-host-for-template-module-not-working-for-me/32322>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [February 25, 2020, 1:12pm UTC](https://forum.ansible.com/t/remote-src-and-template-host-for-template-module-not-working-for-me/32322 "2020-02-25T13:12:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [February 25, 2020, 1:12pm UTC](https://forum.ansible.com/t/remote-src-and-template-host-for-template-module-not-working-for-me/32322/1 "2020-02-25T13:12:00Z")

</div>

> Thank u Jordan and Dick ,
> 
> Can you please help to know , how can we fetch folder from remote to controller as fetch module not supported folders  
> rather than files.  
> i can able to fetch multiple files but not able to fetch folders .

Try the synchronize module in pull mode.

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke

---

<div class="post-metadata">

**Author:** ![racke](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/racke/32/4767_2.png) [@racke](https://forum.ansible.com/u/racke)\
**Post date:** [February 25, 2020, 2:53pm UTC](https://forum.ansible.com/t/remote-src-and-template-host-for-template-module-not-working-for-me/32322/2 "2020-02-25T14:53:06Z")

</div>

> Thanks Racke , its work for me

Well if you don't mind please post your resulting task so other list members can see how you use synchronize.

Simply stating "it doesn't work" or "it works for me" without a task to refer to doesn't really work for \*me\* 🙂

Regards  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Racke
