remote_src on template

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

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.