4
0
Fork 0

fetch of auditd logfile should run in check_mode

Signed-off-by: polski-g <polski_g@sent.at>
This commit is contained in:
polski-g 2025-06-06 10:03:47 -04:00
parent 1bff329a05
commit 5226f14b3e
No known key found for this signature in database
GPG key ID: C077F64D3FFD4D39

View file

@ -317,6 +317,7 @@
tags: always tags: always
ansible.builtin.shell: grep ^log_file /etc/audit/auditd.conf | awk '{ print $NF }' ansible.builtin.shell: grep ^log_file /etc/audit/auditd.conf | awk '{ print $NF }'
changed_when: false changed_when: false
check_mode: false
register: prelim_auditd_logfile register: prelim_auditd_logfile
- name: "PRELIM | AUDIT | Audit conf and rules files | list files" - name: "PRELIM | AUDIT | Audit conf and rules files | list files"