diff --git a/playbooks/roles/filebeat/tasks/main.yml b/playbooks/roles/filebeat/tasks/main.yml index 3b7be72..2ebd7eb 100644 --- a/playbooks/roles/filebeat/tasks/main.yml +++ b/playbooks/roles/filebeat/tasks/main.yml @@ -31,8 +31,8 @@ - name: Render Filebeat Configure File ansible.builtin.template: - src: "filebeat-{{ items }}-template.yml" - dest: "{{ work_path }}/filebeat_{{ items }}.yml" + src: "filebeat-{{ item }}-template.yml" + dest: "{{ work_path }}/filebeat_{{ item }}.yml" owner: root group: root mode: '0644'