jmatt.beats
ansible-beats
This tool helps you install and set up Elastic beats version 5 for the LSST SQuaRE infrastructure.
Example Playbook
- hosts: servers
roles:
- { role: lsst-sqre.beats }
Variables
For detailed information on configuration options, check the documentation for metricbeat, filebeat, and packetbeat.
beats_package_name
(default "metricbeat"): The name of the beat package. You can choose "metricbeat", "filebeat", "packetbeat", or "heartbeat".beats_package_version
(default "5.2.2"): The version of the beat package.beats_install
(default true): Whether to install the beat or not.beats_config
(default ""): The YAML configuration for the beat. If the user doesn't provide any, no configuration will be applied.beats_geoip
(default false): Whether to install geoip for the beat's use.
Acknowledgements
This role is inspired by Jonathan D Strootman's Ansible Galaxy role cyverse.beats
. It offers more complete features and is less opinionated than this one. However, it doesn't support version 5 or follow my preferred variable naming style, which is why I created this new role.
I highly recommend checking out cyverse.beats
. A big thank you to Strootman and Cyverse for their excellent roles.
License
This project is licensed under the MIT License. You can view the details in the LICENSE file.
Elastic beats v 5.x for LSST SQuaRE.
ansible-galaxy install jmatt.beats