Download binaries from official website, install and configure Filebeat.
filebeat_version: "7.14.0"
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- filebeat
BSD
Ekaterina