This role installs and configures Filebeat.
Ansible 2.10 or newer.
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 20.04 (Focal Fossa)
- Ubuntu - 22.04 (Jammy Jellyfish)
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
filebeat_dependencies | true | [apt-transport-https] |
list | |
filebeat_package | true | filebeat |
string | |
filebeat_package_state | true | present |
string | |
filebeat_use_oss | true | false |
bool | Whether to use Open Source version or not. |
filebeat_config | true | dict | Configuration object. See defaults/main.yml . |
None
- hosts: all
roles:
- role: ansible-role-filebeat
molecule test
MIT