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: