Skip to content

Commit f850cd1

Browse files
committed
udpated acl pkg conditional
Signed-off-by: Mark Bolwell <[email protected]>
1 parent 75b243f commit f850cd1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tasks/section_7/cis_7.2.x.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,9 @@
290290
loop: "{{ prelim_interactive_users_home.stdout_lines }}"
291291

292292
- name: "7.2.9 | PATCH | Ensure local interactive user home directories are configured | Set other ACL"
293-
when: not system_is_container
293+
when:
294+
- not system_is_container
295+
- "'acl' in ansible_facts.packages"
294296
ansible.posix.acl:
295297
path: "{{ item }}"
296298
default: true

0 commit comments

Comments
 (0)