Skip to content

Commit

Permalink
Fix loop condition default
Browse files Browse the repository at this point in the history
  • Loading branch information
arousseau-coveo committed Dec 7, 2023
1 parent 87571cf commit 1234fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/section_5/cis_5.2.4.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1234fd0

Please sign in to comment.