4Upstream: Adjusting strings used for user-shells conditionals

Signed-off-by: Pruteanu <ionut.pruteanu@siemens.com>
Signed-off-by: z0042h2w <ionut.pruteanu@siemens.com>
This commit is contained in:
Pruteanu 2024-03-11 17:26:49 +02:00 committed by z0042h2w
parent a233ccc96b
commit 1bf405811e
No known key found for this signature in database
GPG key ID: 8665D673971C2D62

View file

@ -14,8 +14,9 @@
- item.id != "halt"
- item.id != "nfsnobody"
- item.uid < min_int_uid | int
- item.shell != " /bin/false"
- item.shell != " /usr/sbin/nologin"
- item.shell != "/bin/false"
- item.shell != "/usr/sbin/nologin"
- item.shell != "/sbin/nologin"
loop_control:
label: "{{ item.id }}"
@ -31,8 +32,9 @@
- item.id != "root"
- item.id != "nfsnobody"
- item.uid < min_int_uid | int
- item.shell != " /bin/false"
- item.shell != " /usr/sbin/nologin"
- item.shell != "/bin/false"
- item.shell != "/usr/sbin/nologin"
- item.shell != "/sbin/nologin"
loop_control:
label: "{{ item.id }}"
when: