From 7ed10020303c32680296a8702c4a0d0b8ee7bcbd Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Wed, 6 Dec 2023 23:30:40 -0500 Subject: [PATCH] Fix loop condition default Signed-off-by: Alexandre Rousseau --- tasks/section_5/cis_5.2.4.x.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/section_5/cis_5.2.4.x.yml b/tasks/section_5/cis_5.2.4.x.yml index 17b2573..8e7d983 100644 --- a/tasks/section_5/cis_5.2.4.x.yml +++ b/tasks/section_5/cis_5.2.4.x.yml @@ -65,7 +65,7 @@ ansible.builtin.file: path: "{{ item.path }}" mode: '0640' - loop: "{{ auditd_conf_files.files|default({})}}" + loop: "{{ auditd_conf_files.files|default([])}}" loop_control: label: "{{ item.path }}" when: