assemble module with templates?

Hi,
I’m converting a bunch of my Puppet modules to Ansible and was wondering if, when using the “assemble” module, is there any way to also have template evaluation done at runtime? Or do I have to do this in 2 steps:

a) use the template module to loop through my fragment templates and put them somewhere (either local or remote)
b) use the assemble module to assemble the already evaluated fragments into the final config file

The only reason I ask this is that in Puppet, the “concat::fragment” allows exactly that - evaluates templates when assembling them into a single file.

Thanks!

Yep, call the template module for each fragment you make, then call assemble.

There’s really no notion of anything other than runtime.

you can use includes in templates to do it all in 1 step​