Skip to content

Commit

Permalink
udpated acl pkg conditional
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Aug 20, 2024
1 parent 75b243f commit f850cd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/section_7/cis_7.2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f850cd1

Please sign in to comment.