When using {{env.VAR}} in a template (##template.default), the resulting output contains the literal {{env.VAR}}, unsubstituted. {{yadm.x}} work as expected.
To reproduce
test.txt##template:
# All lines should be substituted
{{ yadm.hostname }}
{{ yadm.distro }}
{{ env.HOME }}
{{ env.PWD }}
Can this be reproduced with the yadm/testbed docker image: No
Describe the bug
When using {{env.VAR}} in a template (##template.default), the resulting output contains the literal
{{env.VAR}}
, unsubstituted.{{yadm.x}}
work as expected.To reproduce
test.txt##template
:Can this be reproduced with the yadm/testbed docker image: No
In the testbed, it works as expected.
Steps to reproduce the behavior:
Expected behavior
I should see {{ env.HOME }} replaced with the appropriate value of $HOME. Instead I see '{{ env.HOME }}', e.g.
Environment
Other
How could I best help debug this?