mirror of https://github.com/ansible/ansible.git
net_template.py: Fix jinja2 template file search path (#15134)
The change is needed to support the multiple include statements inside the jinja2 template file, as in '{% include ['another.j2'] %}'. statement. I need this capability, as OpenSwitch `switch` role needs to handle multiple *.j2 files and supporting the include statement inside jinja2 file is essential, otherwise I need to combine multiple template files into a single file, which easily causes conflicts between developers working on different parts of the teamplate, ports and interface.pull/15888/head
parent
11b3a1b8ce
commit
8de25db681
Loading…
Reference in New Issue