Vars don't get properly propagated with two levels of included
nesting
#996
Labels
type: bug
Something not working as intended.
included
nesting
#996
Hello,
thanks for the amazing tool that Taskfile is. I have a bit of advanced use case, so bear with me.
I am facing an issue with the current setup:
C_VARIABLE: '{{.C_VARIABLE | default "localhost"}}'
this is the content of A.Taskfile.yml:
this is the content of B.Taskfile.yml:
and this is the content of C.Taskfile.yml
If I run the following command it behaves as expected. Meaning that when B:up calls C:up, it overrides the variable C_VARIABLE with the content of B_variable=b
if instead I run the same up task from A
the C_VARIABLE is not overridden but it uses the default value instead.
This is not what I was expecting
Am I doing something wrong? Do I have wrong expectations or is this a bug?
The text was updated successfully, but these errors were encountered: