forked from ansible-lockdown/RHEL9-CIS
4.1.4.8 tidy title remove register not used
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
939102430c
commit
e52cc6ca6b
1 changed files with 2 additions and 2 deletions
|
|
@ -106,7 +106,7 @@
|
||||||
|
|
||||||
- name: "4.1.4.8 | PATCH | Ensure audit tools are 755 or more restrictive"
|
- name: "4.1.4.8 | PATCH | Ensure audit tools are 755 or more restrictive"
|
||||||
block:
|
block:
|
||||||
- name: "PRELIM | 4.1.4.8 | Get audit binary file stat | get current mode"
|
- name: "4.1.4.8 | AUDIT | Get audit binary file stat | get current mode"
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
register: "audit_bins"
|
register: "audit_bins"
|
||||||
|
|
@ -122,7 +122,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item.item }}"
|
path: "{{ item.item }}"
|
||||||
mode: 0750
|
mode: 0750
|
||||||
register: "audit_bins"
|
|
||||||
loop: "{{ audit_bins.results }}"
|
loop: "{{ audit_bins.results }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.item }}"
|
label: "{{ item.item }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue