beats
ansible-beats
Install and configure Elastic beats v5 for LSST SQuaRE infrastructure.
Example Playbook
- hosts: servers
roles:
- { role: lsst-sqre.beats }
Variables
For complete documentation on configuration options see the metricbeat, filebeat and packetbeat documentation.
beats_package_name
(default "metricbeat") The package name of the beat. Valid options are "metricbeat", "filebeat" "packetbeat" or "heartbeat".
beats_package_version
(default "5.2.2") The package version of the beat.
beats_install
(default true) Whether to install the beat.
beats_config
(default "") The yaml configuration for the beat. If undefined by the user, no configuration will be applied.
beats_geoip
(default false) Wether to install geoip for use by the beat.
Acknowledgements
This role is based on Jonathan D Strootman's Ansible Galaxy role cyverse.beats
. It is a more complete implementation and less opinionated than this role. But it doesn't support v5 or follow the variable naming convention my roles follow. Thus this new role.
I'd highly recommend cyverse.beats
. A big thanks to Strootman and Cyverse for their great roles.
License
The MIT License. See the LICENSE file.
Elastic beats v 5.x for LSST SQuaRE.
ansible-galaxy install jmatt/ansible-beats