Closed mskott closed 2 years ago
Thanks for the PR @mskott , much appreciated. Based on my reading of adduser
for the supported platforms it looks like other linux OS's won't create a home dir for system users, but Debian still appears to. The Ansible task, based on createhome: no
, shouldn't create a home dir regardless.
I'm fine with the changes you've proposed.
The lint errors can be ignored, this appears to be an issue with the linting tool across a number of repos at the moment.
Setting this only influences new installs where the user and/or group doesn't exist.
I would have liked to also define the users HOME to
kafka_dir
or/nonexistent
(used by at least Debian for system users where HOME doesn't really make sense), but that would fail when the user all ready exists because he would usually have a running process.