Skip to content

nkakouros-original/ansible-role-beats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Galaxy Github Actions

ansible-role-beats

Installs and configures Elastic Beats.

Description

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.

Requirements

None

Dependencies

  • 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.

Role Variables

Look at the defaults/main.yml file for this roles variables and their documentation.

Example Playbook

For an example on how to use this role, see molecule/default/converge.yml.

License

GPLv3

Author Information

Nikolaos Kakouros (nkak@kth.se)