From 6e23643a2ad8aa77ddcc863eb5ef76c741193c98 Mon Sep 17 00:00:00 2001 From: Kristian Ebdrup Date: Sat, 17 Sep 2022 23:26:26 +0200 Subject: [PATCH] Gramma And fix to nobody and tss Signed-off-by: Kristian Ebdrup --- collections/requirements.yml | 3 --- tasks/section_6/cis_6.2.x.yml | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/collections/requirements.yml b/collections/requirements.yml index 4a418ef..d35b7e9 100644 --- a/collections/requirements.yml +++ b/collections/requirements.yml @@ -1,8 +1,5 @@ --- - collections: - name: community.general - - name: community.crypto - - name: ansible.posix diff --git a/tasks/section_6/cis_6.2.x.yml b/tasks/section_6/cis_6.2.x.yml index 31dafa8..27dd2dd 100644 --- a/tasks/section_6/cis_6.2.x.yml +++ b/tasks/section_6/cis_6.2.x.yml @@ -301,6 +301,8 @@ when: - min_int_uid | int <= item.uid - rhel9cis_rule_6_2_10 + - item.id != 'nobody' + - (item.id != 'tss' and item.dir != '/dev/null') tags: - skip_ansible_lint # settings found on 6_2_7 - level1-server