forked from ansible-lockdown/RHEL9-CIS
added check_mode false
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
18fc4ea585
commit
7bef2eda62
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
- name: "POST | AUDITD | Set supported_syscalls variable"
|
- name: "POST | AUDITD | Set supported_syscalls variable"
|
||||||
ansible.builtin.shell: ausyscall --dump | awk '{print $2}'
|
ansible.builtin.shell: ausyscall --dump | awk '{print $2}'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
check_mode: false
|
||||||
failed_when: discovered_auditd_syscalls.rc not in [ 0, 1 ]
|
failed_when: discovered_auditd_syscalls.rc not in [ 0, 1 ]
|
||||||
register: discovered_auditd_syscalls
|
register: discovered_auditd_syscalls
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue