From e52cc6ca6b97a794a33758ddd64350971800941d Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Tue, 31 Jan 2023 08:31:12 +0000 Subject: [PATCH] 4.1.4.8 tidy title remove register not used Signed-off-by: Mark Bolwell --- tasks/section_4/cis_4.1.4.x.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/section_4/cis_4.1.4.x.yml b/tasks/section_4/cis_4.1.4.x.yml index 7139ab6..9eb2bd5 100644 --- a/tasks/section_4/cis_4.1.4.x.yml +++ b/tasks/section_4/cis_4.1.4.x.yml @@ -106,7 +106,7 @@ - name: "4.1.4.8 | PATCH | Ensure audit tools are 755 or more restrictive" 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: path: "{{ item }}" register: "audit_bins" @@ -122,7 +122,7 @@ ansible.builtin.file: path: "{{ item.item }}" mode: 0750 - register: "audit_bins" + loop: "{{ audit_bins.results }}" loop_control: label: "{{ item.item }}"