Since bcrypt 5.0, py-passlib is broken, see https://github.com/ansible/ansible/issues/85919 passlib is effectively dead (last update 2020), so fixing it upstream is not really feasible. Thus, the best way is to get rid of it (see https://github.com/ansible/ansible/pull/85970), but meanwhile we need a fix, especially since Ansible's "hwpasswd" is broken. Using the fix presented in https://github.com/ansible/ansible/issues/85919 seems to work.
Created attachment 268377 [details] Update port to be compatible with bcrypt 5 based on https://github.com/ansible/ansible/issues/85919