Expose .TASK variable with the task name

Closes #252
This commit is contained in:
Andrey Nering
2019-12-07 19:43:10 -03:00
parent d718527a1f
commit 7373639f57
5 changed files with 10 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ tasks:
- echo '{{.NESTEDTMPL2_FOO2}}' > nestedtmpl2_foo2.txt
- echo {{.OVERRIDE}} > override.txt
- echo '{{.NESTED3}}' > nested.txt
- echo '{{.TASK}}' > task_name.txt
vars:
FOO: foo
BAR: $echo bar