4
0
Fork 0
RHEL9-CIS/tasks/section_4/cis_4.2.3.yml
Mark Bolwell e62e5630b4
section 4 updates
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
2023-01-12 11:38:53 +00:00

24 lines
670 B
YAML

---
- name: "4.2.3 | PATCH | Ensure permissions on all logfiles are configured"
block:
- name: "4.2.3 | AUDIT | Ensure permissions on all logfiles are configured | find files"
ansible.builtin.find:
paths: "/var/log"
type: file
register: logfiles
- name: "4.2.3 | AUDIT | Ensure permissions on all logfiles are configured | find files"
ansible.builtin.file:
paths: "{{ item.path }}"
mode: 0640
register: logfiles
when:
- rhel9cis_rule_4_2_3
tags:
- level1-server
- level1-workstation
- automated
- patch
- logfiles
- rule_4.2.3