Skip to content

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

@Minal1409

Description

@Minal1409

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions