From 1234fd08eeb5f20a8b55714e52988cfc6079ac0b 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 --- 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: