Encrypted passwords not working, clear text does

For my credssp (windows) to work, I need ansible_user and ansible_password set. I can set these in plain text in a variable, and everything works fine; however, when experimenting with vars_prompt I attempt the same thing and fails when I use encryption. If I store the password as I do the ad username (clear text), it also works. This may not even be a vars_prompt issue, but an encryption one. Wondering if this is a bug or if I am doing something wrong?

Playbook

`

The encrypt part of prompt is to create an encrypted/hash value of the prompt, as you can see the output is useless and it will be used literally causing the auth to fail. This is useful for modules that work with the hash value of a password like user but is useless for authentication that requires the plaintext value like WinRM.

Thanks

Jordan

I see. That makes sense. Thank you Jordan.