robertdebock.logstash
Ansible Role Logstash
THIS ROLE HAS BEEN ARCHIVED AS OF DEC 2023.
This role helps you to install and set up Logstash on your system.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
Here’s a simple playbook to use this role, taken from molecule/default/converge.yml
. It is tested frequently.
---
- name: Converge
hosts: all
become: yes
gather_facts: yes
roles:
- role: robertdebock.logstash
Before running, make sure to prepare the system using molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: yes
gather_facts: no
roles:
- role: robertdebock.bootstrap
- role: robertdebock.core_dependencies
- role: robertdebock.elastic_repo
For more details on using these roles, check out this explanation and example.
Role Variables
Default values for the variables can be found in defaults/main.yml
:
---
# defaults file for logstash
# Choose the type of Logstash: "oss" (Apache 2.0 license) or "elastic" (Elastic license)
logstash_type: oss
Requirements
- Install pip packages listed in requirements.txt.
State of Used Roles
These roles are used to prepare your system. You can choose another preparation method.
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap | ||
robertdebock.core_dependencies | ||
robertdebock.elastic_repo |
Context
This role is part of several compatible roles. For more information, check the documentation for these roles here.
Overview of Related Roles
Compatibility
This role has been tested with these container images:
Container | Tags |
---|---|
Amazon | all |
Debian | all |
EL | all |
Fedora | all |
Ubuntu | focal, bionic |
You need at least Ansible version 2.12, and tests have been done on:
- The previous version.
- The current version.
- The development version.
If you encounter any issues, please report them on GitHub.
License
This role is licensed under Apache-2.0.
Author Information
Created by robertdebock.
If you'd like to support me, consider sponsoring me.
ansible-galaxy install robertdebock.logstash