Error on some passwords

If a password contains special characters ansible will fail to process the role with the following error:
"A variable inserted a new parameter into the module args. Be sure to quote variables if they contain equal signs (for example: "{{var}}")."