From cdf8bab1ed2f52b90021031461509e2a705ee037 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 16 Sep 2022 15:48:13 +0100 Subject: [PATCH] removed unnecessary register Signed-off-by: Mark Bolwell --- tasks/section_4/cis_4.1.2.x.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/tasks/section_4/cis_4.1.2.x.yml b/tasks/section_4/cis_4.1.2.x.yml index afad08b..0eec0b2 100644 --- a/tasks/section_4/cis_4.1.2.x.yml +++ b/tasks/section_4/cis_4.1.2.x.yml @@ -5,7 +5,6 @@ path: /etc/audit/auditd.conf regexp: "^max_log_file( |=)" line: "max_log_file = {{ rhel9cis_max_log_file_size }}" - register: rule_4_1_2_1 notify: restart auditd when: - rhel9cis_rule_4_1_2_1 @@ -22,7 +21,6 @@ path: /etc/audit/auditd.conf regexp: "^max_log_file_action" line: "max_log_file_action = {{ rhel9cis_auditd['max_log_file_action'] }}" - register: rule_4_1_2_2 notify: restart auditd when: - rhel9cis_rule_4_1_2_2 @@ -39,7 +37,6 @@ path: /etc/audit/auditd.conf regexp: "{{ item.regexp }}" line: "{{ item.line }}" - register: rule_4_1_2_3 notify: restart auditd with_items: - { regexp: '^admin_space_left_action', line: 'admin_space_left_action = {{ rhel9cis_auditd.admin_space_left_action }}' }