forked from ansible-lockdown/RHEL9-CIS
fetch of auditd logfile should run in check_mode
Signed-off-by: polski-g <polski_g@sent.at>
This commit is contained in:
parent
1bff329a05
commit
5226f14b3e
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue