We can use the module user to get all information about the user.
I added the fail step, so we can print a custom error message, which explains that the user must exist.
The task "check user exists" is irrelevant as the task "Find uid of user" is failing if the user doesn't exist, therefore i removed it.
We can use the module
user
to get all information about the user. I added the fail step, so we can print a custom error message, which explains that the user must exist.The task "check user exists" is irrelevant as the task "Find uid of user" is failing if the user doesn't exist, therefore i removed it.