user: erstelle kein Home-Verzeichnisse für Script-User (#281)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#281 Co-authored-by: mg <michael.grote@posteo.de> Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
parent
883dc870d4
commit
e746c9f62b
6 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
name: "{{ cv4pve_user }}"
|
name: "{{ cv4pve_user }}"
|
||||||
group: "{{ cv4pve_user_group }}"
|
group: "{{ cv4pve_user_group }}"
|
||||||
shell: /usr/sbin/nologin
|
shell: /usr/sbin/nologin
|
||||||
|
create_home: no
|
||||||
when:
|
when:
|
||||||
- cv4pve_user_group is defined
|
- cv4pve_user_group is defined
|
||||||
- cv4pve_user is defined
|
- cv4pve_user is defined
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
name: "{{ rasdaemon_user }}"
|
name: "{{ rasdaemon_user }}"
|
||||||
group: "{{ rasdaemon_user_group }}"
|
group: "{{ rasdaemon_user_group }}"
|
||||||
shell: /usr/sbin/nologin
|
shell: /usr/sbin/nologin
|
||||||
|
create_home: no
|
||||||
when:
|
when:
|
||||||
- rasdaemon_user_group is defined
|
- rasdaemon_user_group is defined
|
||||||
- rasdaemon_user is defined
|
- rasdaemon_user is defined
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
group: "{{ minio_group }}"
|
group: "{{ minio_group }}"
|
||||||
shell: /sbin/nologin
|
shell: /sbin/nologin
|
||||||
state: present
|
state: present
|
||||||
|
create_home: no
|
||||||
|
|
||||||
- name: ensure needed directories are present
|
- name: ensure needed directories are present
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
name: "{{ smart_user }}"
|
name: "{{ smart_user }}"
|
||||||
group: "{{ smart_user_group }}"
|
group: "{{ smart_user_group }}"
|
||||||
shell: /usr/sbin/nologin
|
shell: /usr/sbin/nologin
|
||||||
|
create_home: no
|
||||||
when:
|
when:
|
||||||
- smart_user_group is defined
|
- smart_user_group is defined
|
||||||
- smart_user is defined
|
- smart_user is defined
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
name: "{{ zfs_health_user }}"
|
name: "{{ zfs_health_user }}"
|
||||||
group: "{{ zfs_health_user_group }}"
|
group: "{{ zfs_health_user_group }}"
|
||||||
shell: /usr/sbin/nologin
|
shell: /usr/sbin/nologin
|
||||||
|
create_home: no
|
||||||
when:
|
when:
|
||||||
- zfs_health_user_group is defined
|
- zfs_health_user_group is defined
|
||||||
- zfs_health_user is defined
|
- zfs_health_user is defined
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
name: "{{ sanoid_user }}"
|
name: "{{ sanoid_user }}"
|
||||||
group: "{{ sanoid_user_group }}"
|
group: "{{ sanoid_user_group }}"
|
||||||
shell: /usr/sbin/nologin
|
shell: /usr/sbin/nologin
|
||||||
|
create_home: no
|
||||||
when:
|
when:
|
||||||
- sanoid_user_group is defined
|
- sanoid_user_group is defined
|
||||||
- sanoid_user is defined
|
- sanoid_user is defined
|
||||||
|
|
Loading…
Reference in a new issue