- name: "Install Filebeat Instance <{{ instance_name }}>" hosts: "{{ instance_name }}_filebeats" tasks: - name: Filebeat Deploy include_role: name: filebeat vars: log_type: "{{ item }}" with_items: "{{ deploy_logs }}"