From 965e25bfd2078338b99bedd725f5a24d67aed63f Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Wed, 13 Oct 2021 12:22:17 -0500 Subject: [PATCH] Remove extra quotes that break check mode Fixes #141 Signed-off-by: Chandler Swift --- 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 4895f385..a8dbbc84 100644 --- a/tasks/section_6/cis_6.2.x.yml +++ b/tasks/section_6/cis_6.2.x.yml @@ -468,7 +468,7 @@ - name: "6.2.20 | L1 | AUDIT | Ensure all users' home directories exist" command: find -H {{ item.0 | quote }} -not -type l -perm /027 check_mode: false - changed_when: rhel_08_6_2_20_patch_audit.stdout "| length > 0" + changed_when: rhel_08_6_2_20_patch_audit.stdout | length > 0 register: rhel_08_6_2_20_patch_audit when: - ansible_check_mode