Chaning user's own password after validating the current password

Hi

I am looking for a playbook that will change user’s password only if the playbook is ran by the user.
In other words can you help in writing a playbook that will first verify user’s current password then if the current password is correct then let the user to change his existing password.

Appreciate your input on this.

Thanks