4
0
Fork 0

capture only configuratoin lines from rsyslog

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2024-06-05 17:10:22 +01:00
parent 5595097e78
commit 20e2986406
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9

View file

@ -59,7 +59,7 @@
- name: "4.2.1.5 | PATCH | Ensure logging is configured"
block:
- 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
failed_when: false
check_mode: false