forked from ansible-lockdown/RHEL9-CIS
capture only configuratoin lines from rsyslog
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
5595097e78
commit
20e2986406
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@
|
||||||
- name: "4.2.1.5 | PATCH | Ensure logging is configured"
|
- name: "4.2.1.5 | PATCH | Ensure logging is configured"
|
||||||
block:
|
block:
|
||||||
- name: "4.2.1.5 | AUDIT | Ensure logging is configured | rsyslog current config message out"
|
- name: "4.2.1.5 | AUDIT | Ensure logging is configured | rsyslog current config message out"
|
||||||
ansible.builtin.shell: cat /etc/rsyslog.conf
|
ansible.builtin.shell: cat /etc/rsyslog.conf | grep -Ev "^#|^$"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
check_mode: false
|
check_mode: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue