From 037f11e5513fbb10884e2da53c0dd4a3a12d5c15 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Wed, 2 Feb 2022 11:23:16 +0000 Subject: [PATCH] remove debug update logic 6.2.8 Signed-off-by: Mark Bolwell --- tasks/section_6/cis_6.2.x.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tasks/section_6/cis_6.2.x.yml b/tasks/section_6/cis_6.2.x.yml index 8c0c9aa..c825229 100644 --- a/tasks/section_6/cis_6.2.x.yml +++ b/tasks/section_6/cis_6.2.x.yml @@ -137,9 +137,6 @@ with_items: "{{ rhel9cis_passwd | selectattr('uid', '>=', min_int_uid | int) | selectattr('uid', '<', max_int_uid | int) | selectattr('dir', '!=', '/') | map(attribute='dir') | list }}" register: rhel_09_6_2_7_audit - - debug: - var: rhel_09_6_2_7_audit - - name: "6.2.7 | L1 | AUDIT | Ensure users' home directories permissions are 750 or more restrictive" shell: find -H {{ item.0 | quote }} -not -type l -perm /027 args: @@ -207,7 +204,7 @@ loop_control: label: "{{ rhel9cis_passwd_label }}" when: - - item.uid >= min_int_uid + - min_int_uid | int >= item.uid - rhel9cis_rule_6_2_8 tags: - skip_ansible_lint # settings found on 6_2_7