From 2413eb3d4dae41fa5d87d701496453f47c73ed00 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Wed, 10 Apr 2024 08:16:19 +0100 Subject: [PATCH] fixed logic 6.2.10 Signed-off-by: Mark Bolwell --- tasks/section_6/cis_6.2.x.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/section_6/cis_6.2.x.yml b/tasks/section_6/cis_6.2.x.yml index a1009ea..7be9ae9 100644 --- a/tasks/section_6/cis_6.2.x.yml +++ b/tasks/section_6/cis_6.2.x.yml @@ -278,7 +278,7 @@ owner: "{{ item.id }}" group: "{{ item.gid }}" register: rhel_09_6_2_10_home_dir - loop: "{{ discovered_interactive_uids.stdout_lines }}" + loop: "{{ rhel9cis_passwd | selectattr('uid', '>=', min_int_uid | int ) | selectattr('uid', '<=', max_int_uid | int ) | list }}" loop_control: label: "{{ item.id }}"