Template expansion

8 views
Skip to first unread message

Mauricio Tavares

unread,
Oct 15, 2021, 7:44:14 AM10/15/21
to ansible...@googlegroups.com
When you use the template module, where does it do all the jinjaness
(variable expansion, loop, etc): in the host you are running ansible
from (server?) or the one you are applying it to (client)?

Vladimir Botka

unread,
Oct 15, 2021, 8:54:47 AM10/15/21
to Mauricio Tavares, ansible...@googlegroups.com
The *template* is completed at the controller. In fact, the modules
*stat* and *file* are used behind the scene to write the file at the
client.

Short answer would be: Is Jinja package needed at the client?

--
Vladimir Botka
Reply all
Reply to author
Forward
0 new messages