mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
removed unnecessary register
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
cc2f734d57
commit
cdf8bab1ed
1 changed files with 0 additions and 3 deletions
|
|
@ -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 }}' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue