From f850cd130a82717da0fee7949e9e06787a125c85 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 20 Aug 2024 13:49:26 +0100 Subject: [PATCH] udpated acl pkg conditional Signed-off-by: Mark Bolwell --- tasks/section_7/cis_7.2.x.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/section_7/cis_7.2.x.yml b/tasks/section_7/cis_7.2.x.yml index f1c677d..86490be 100644 --- a/tasks/section_7/cis_7.2.x.yml +++ b/tasks/section_7/cis_7.2.x.yml @@ -290,7 +290,9 @@ loop: "{{ prelim_interactive_users_home.stdout_lines }}" - name: "7.2.9 | PATCH | Ensure local interactive user home directories are configured | Set other ACL" - when: not system_is_container + when: + - not system_is_container + - "'acl' in ansible_facts.packages" ansible.posix.acl: path: "{{ item }}" default: true