Which is templated once, with results as expected (phrase: Hello Mark):
# hello_mark.yaml
!With
template: generic.yaml
vars:
name: Mark
greeting: Hello
and then another template on top of the previous one
# hello_john.yaml
!With
template: hello_mark.yaml
vars:
name: John
I expected it to result in phrase: Hello John but rather I got still phrase: Hello Mark. So it seems that the first (lower level) variables within the !With tag cannot be overriden by higher level !With templates.
Hi,
Considering a template like
Which is templated once, with results as expected (
phrase: Hello Mark
):and then another template on top of the previous one
I expected it to result in
phrase: Hello John
but rather I got stillphrase: Hello Mark
. So it seems that the first (lower level) variables within the !With tag cannot be overriden by higher level !With templates.Is this by design? Thanks!