Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"error reading schema" when include statement is used in jinja 2 teamplate for including another jinja2 template #22

Open
Minal1409 opened this issue May 16, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Minal1409
Copy link

API --->
x.x.x.x:9000/j2template/iosxe_vrf --> 200 ok response
cat ../test.j2
{% include "iosxe_vrf.j2" %}
x.x.x.x:9000/j2template/test
Output-->
{
"data": {
"task_result": {
"template_data": "{% include "iosxe_vrf.j2" %}\n",
"template_schema": "error reading schema"
}
},
"status": "success"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants