From e746c9f62bc8411e70e13d388127d9b64cf07dd6 Mon Sep 17 00:00:00 2001 From: mg Date: Wed, 15 Dec 2021 21:41:53 +0100 Subject: [PATCH] =?UTF-8?q?user:=20erstelle=20kein=20Home-Verzeichnisse=20?= =?UTF-8?q?f=C3=BCr=20Script-User=20(#281)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/281 Co-authored-by: mg Co-committed-by: mg --- roles/mgrote.cv4pve-autosnap/tasks/user.yml | 1 + roles/mgrote.ecc-rasdaemon/tasks/user.yml | 1 + roles/mgrote.minio/tasks/main.yml | 1 + roles/mgrote.smart/tasks/user.yml | 1 + roles/mgrote.zfs_health/tasks/user.yml | 1 + roles/mgrote.zfs_sanoid/tasks/user.yml | 1 + 6 files changed, 6 insertions(+) diff --git a/roles/mgrote.cv4pve-autosnap/tasks/user.yml b/roles/mgrote.cv4pve-autosnap/tasks/user.yml index 38456937..b346fb0b 100644 --- a/roles/mgrote.cv4pve-autosnap/tasks/user.yml +++ b/roles/mgrote.cv4pve-autosnap/tasks/user.yml @@ -13,6 +13,7 @@ name: "{{ cv4pve_user }}" group: "{{ cv4pve_user_group }}" shell: /usr/sbin/nologin + create_home: no when: - cv4pve_user_group is defined - cv4pve_user is defined diff --git a/roles/mgrote.ecc-rasdaemon/tasks/user.yml b/roles/mgrote.ecc-rasdaemon/tasks/user.yml index 4d576d67..06aa9cf0 100644 --- a/roles/mgrote.ecc-rasdaemon/tasks/user.yml +++ b/roles/mgrote.ecc-rasdaemon/tasks/user.yml @@ -13,6 +13,7 @@ name: "{{ rasdaemon_user }}" group: "{{ rasdaemon_user_group }}" shell: /usr/sbin/nologin + create_home: no when: - rasdaemon_user_group is defined - rasdaemon_user is defined diff --git a/roles/mgrote.minio/tasks/main.yml b/roles/mgrote.minio/tasks/main.yml index 480d14b2..22674944 100644 --- a/roles/mgrote.minio/tasks/main.yml +++ b/roles/mgrote.minio/tasks/main.yml @@ -10,6 +10,7 @@ group: "{{ minio_group }}" shell: /sbin/nologin state: present + create_home: no - name: ensure needed directories are present file: diff --git a/roles/mgrote.smart/tasks/user.yml b/roles/mgrote.smart/tasks/user.yml index 3b8d2d9b..87a6f5a9 100644 --- a/roles/mgrote.smart/tasks/user.yml +++ b/roles/mgrote.smart/tasks/user.yml @@ -13,6 +13,7 @@ name: "{{ smart_user }}" group: "{{ smart_user_group }}" shell: /usr/sbin/nologin + create_home: no when: - smart_user_group is defined - smart_user is defined diff --git a/roles/mgrote.zfs_health/tasks/user.yml b/roles/mgrote.zfs_health/tasks/user.yml index 6d211807..7ab13eed 100644 --- a/roles/mgrote.zfs_health/tasks/user.yml +++ b/roles/mgrote.zfs_health/tasks/user.yml @@ -13,6 +13,7 @@ name: "{{ zfs_health_user }}" group: "{{ zfs_health_user_group }}" shell: /usr/sbin/nologin + create_home: no when: - zfs_health_user_group is defined - zfs_health_user is defined diff --git a/roles/mgrote.zfs_sanoid/tasks/user.yml b/roles/mgrote.zfs_sanoid/tasks/user.yml index c8c79579..cc4fa2d7 100644 --- a/roles/mgrote.zfs_sanoid/tasks/user.yml +++ b/roles/mgrote.zfs_sanoid/tasks/user.yml @@ -13,6 +13,7 @@ name: "{{ sanoid_user }}" group: "{{ sanoid_user_group }}" shell: /usr/sbin/nologin + create_home: no when: - sanoid_user_group is defined - sanoid_user is defined