# jinja2.ChoiceLoader

**URL:** <https://forum.ansible.com/t/jinja2-choiceloader/24157>\
**Category:** Ansible Project\
**Created:** [April 6, 2017, 11:55am UTC](https://forum.ansible.com/t/jinja2-choiceloader/24157 "2017-04-06T11:55:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Stroder](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Post date:** [April 6, 2017, 11:55am UTC](https://forum.ansible.com/t/jinja2-choiceloader/24157/1 "2017-04-06T11:55:06Z")

</div>

HI!

I'd like to give the "user" the possibility to override arbitrary Jinja2 templates used  
within an ansible role without having to implement that with custom vars.

Something like:  
[http://jinja.pocoo.org/docs/2.9/api/#jinja2.ChoiceLoader](http://jinja.pocoo.org/docs/2.9/api/#jinja2.ChoiceLoader)

Is that possible?

Ciao, Michael.
