How the UUID is used as a salt to bcrypt passwords?

Hello,

I am trying to overwrite new passwords with an Ansible playbook in the core_user table. I understand the UUID is used as a salt for bcrypt, but the Ansible library (https://passlib.readthedocs.io/en/stable/lib/passlib.hash.bcrypt.html) is expecting only 22 alphanumeric characters for the salt.
I don’t understand the Clojure code very well. What is it done by Clojure for the UUID to be a valid bcrypt salt?

Thanks!