Skip to content

Commit

Permalink
Merge pull request #15 from ansible-lockdown/issue_12
Browse files Browse the repository at this point in the history
addressed issue #12 thanks to @layluke
  • Loading branch information
uk-bolly authored Jun 13, 2024
2 parents c4795f9 + 7027e12 commit e1b7ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/Cat2/RHEL-09-23xxxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,7 @@
block:
- name: "RHEL-09-232250 | AUDIT | All RHEL 9 local files and directories must have a valid group owner."
when:
- not item['device'].startswith('/dev')
- item['device'].startswith('/dev')
- not 'bind' in item['options']
ansible.builtin.shell: find "{{ item.mount }}" -xdev -nogroup
check_mode: false
Expand Down Expand Up @@ -1921,7 +1921,7 @@
block:
- name: "RHEL-09-232255 | AUDIT | All RHEL 9 local files and directories must have a valid owner."
when:
- not item['device'].startswith('/dev')
- item['device'].startswith('/dev')
- not 'bind' in item['options']
ansible.builtin.shell: find "{{ item.mount }}" -xdev -nogroup
check_mode: false
Expand Down

0 comments on commit e1b7ada

Please sign in to comment.