# remote\_src on template

**URL:** <https://forum.ansible.com/t/remote-src-on-template/31911>\
**Category:** Ansible Project\
**Created:** [January 6, 2020, 2:52pm UTC](https://forum.ansible.com/t/remote-src-on-template/31911 "2020-01-06T14:52:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BAUMERT\_Yoann](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@BAUMERT\_Yoann](https://forum.ansible.com/u/BAUMERT_Yoann)\
**Post date:** [January 6, 2020, 2:52pm UTC](https://forum.ansible.com/t/remote-src-on-template/31911/1 "2020-01-06T14:52:47Z")

</div>

Hello guys,

I’m working with Ansible in my company, and I’ve a little issue with the template module:

I need to have my package on the master and the target to perform a templating. Is it possible to create a kind of “remote\_src: yes” like for other modules but for the template?

Thanks guys, it would be very powerful  
Yoann

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [January 9, 2020, 8:25pm UTC](https://forum.ansible.com/t/remote-src-on-template/31911/2 "2020-01-09T20:25:34Z")

</div>

it is 'possible' but it is unlikely we'll add that feature to Ansible,  
because it would require jinja2 on the target as well as passing all  
variables and inventory to the module (we only pass the min needed).

I suggest using a 'fetch' action to get the remote template and then  
process normally with the current template action.
