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