Installs and configures Elastic Beats.
This role will in a configurable manner install and configure any of the Elastic Beats. Only one beat can be installed and configured at a time, but this role can be included multiple times, one per beat.
Configuration happens via a yaml dict (beats_config
), thus every default
configuration performed by this role can be overridden by defining the
appropriate keys in beats_config
.
None
- Of course, an Elasticsearch server should be up and running.
- You will need to have generated certificates for use by beats (if you need to enable encrypted communications).
You can use other ansible roles to perform these tasks, such as nkakouros.elasticsearch and nkakouros.easyrsa. See the example playbook.
Look at the defaults/main.yml file for this roles variables and their documentation.
For an example on how to use this role, see molecule/default/converge.yml.
GPLv3
Nikolaos Kakouros (nkak@kth.se)