Hi,
I'm seeking a way to have complex computation within jinja-templates in
roles. The computations I need are approx 100 lines of code, so using
the jinja2-syntx "{%....%} for each line is tremulous.
My first idea was to implement a python filter-plugin. But Ansible does
not search for plugins within the role's directory.
* Is there a way to include a block of Python-code into the template?
* Is there a way to directly call a Python-script or function located
relativly to the template?
* Any other solutions?
--
Regards
Hartmut Goebel
| Hartmut Goebel |
h.go...@crazy-compilers.com |
|
www.crazy-compilers.com | compilers which you thought are impossible |