Hi @Kirk Byers,
I'm trying to work with Jinja2 template inheritance and I'm seeing this
issue.
_playbook.yml_
```
---
- name: Template inheritance test
hosts: localhost
tasks:
- template:
src=child.j2
dest=~/test.cfg
```
_child.j2_
```
{% extends "base.j2" %}
This is from the original
{% block my_block %}
{% endblock %}
This is from the original too
```
_base.j2_
```
this should not be in the output.
{% block my_block %}
This should be in the output
{% endblock %}
this should not be in the output either.
```
After I run the playbook:
```
cat test.cfg
this should not be in the ouput.
this should not be in the output either.
```
I was expecting to see:
```
This is from the original
This should be in the output
This is from the original too
```
What I'm missing here?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/3be6c25a-0e47-4fa9-a564-994004e801aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.