# 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/32282>\
**Category:** Ansible Project\
**Created:** [February 20, 2020, 8:09am UTC](https://forum.ansible.com/t/remote-src-and-template-host-for-template-module-not-working-for-me/32282 "2020-02-20T08:09:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [February 20, 2020, 8:09am UTC](https://forum.ansible.com/t/remote-src-and-template-host-for-template-module-not-working-for-me/32282/1 "2020-02-20T08:09:23Z")

</div>

You can’t, template will only work with a source on the controller as that is where the cars are stored. Either store the template in your role/playbook or use fetch to fetch the file to the controller temporarily and then template it from there.
