ansible/ansible — pull request #488 by dhozac (2012-06-19 19:58:57+00:00)
Title: Create a Jinja2 environment allowing includes

In doing this, I've separated out the one place that uses Jinja2 (the template module) and made template_from_file (of which it is the only user) Jinja2 only. This leads to $vars not working in templates, although I'm not sure that's a problem. This also avoids the performance hit of doing Jinja2 multiple times, as it is unlikely to ever be needed.