fix indentation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jérémy Lecour 2021-05-06 10:50:57 +02:00 committed by Jérémy Lecour
parent 83705a48b8
commit b049ad79d6

View file

@ -154,13 +154,13 @@
src: "{{ item }}" src: "{{ item }}"
dest: /etc/filebeat/filebeat.yml dest: /etc/filebeat/filebeat.yml
force: "{{ filebeat_force_config }}" force: "{{ filebeat_force_config }}"
loop: "{{ query('first_found', templates) }}" loop: "{{ query('first_found', templates) }}"
vars: vars:
templates: templates:
- "templates/filebeat/filebeat.{{ inventory_hostname }}.yml.j2" - "templates/filebeat/filebeat.{{ inventory_hostname }}.yml.j2"
- "templates/filebeat/filebeat.{{ host_group }}.yml.j2" - "templates/filebeat/filebeat.{{ host_group }}.yml.j2"
- "templates/filebeat/filebeat.default.yml.j2" - "templates/filebeat/filebeat.default.yml.j2"
- "templates/filebeat.default.yml.j2" - "templates/filebeat.default.yml.j2"
notify: restart filebeat notify: restart filebeat
when: filebeat_update_config when: filebeat_update_config
when: filebeat_use_config_template when: filebeat_use_config_template