Using ansible_ssh_pass variable set by ask_pass in a playbook?

Hi, is there a way to reuse the ansible_ssh_pass variable in playbook when set by ask_pass in the configuration file or via CLI?

As I’m already using ask_pass and ask_sudo_pass in the config for the SSH connection, I’d like to use the password credentials from those prompts further in a playbook.

Regards,
SZ

passwords are not something we expose to the plays, I'm not sure we
would want to as this can open concerns, specially with 3rd party
roles you don't audit for changes (new task publishes password in irc
....).