become_user with prompt

Hello,

How can I respond to a user prompt that happens upon authentication?

Like ‘expect’ enables us to respond to command prompts, but the prompt in question happens when the user logs in, not after a command.

Does ansible support that?

Thanks,

Alex.

The become plugins handle a single prompt, the problem with multiple
is that they would have to know a priori how many and how to keep
track of 'success' conditions.