task local vars?

I request comments on the following idea:
The ability to specify vars directly on a task.

I found myself needing something like this recently on a template task. The template required variables with some specific names, and I had no way to bring those vars into existence.

Example below.

this is something I'm looking to add in v2, being able to specify
vars: at any level