ikke-t / podman-container-systemd

creates systemd files and creates containers using podman
118 stars 44 forks source link

Use one step to get user info #61

Closed edenhaus closed 2 years ago

edenhaus commented 2 years ago

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.

ikke-t commented 2 years ago

Thanks!