Where to put vars_prompt in a role?

I want a role to have a vars_prompt. Can I put it in the tasks/main.yml, or does it have to be in the playbook that runs the role?

not supported, use pause module

Thanks for the quick update!

Joanna