Ansible troubleshooting — passwordless account

How to reproduce the `usermod: unlocking the user’s password would result in a passwordless account.` error and how to solve it!