beats role for Proserver
- Debian 12, 13
- Ubuntu 26.04, 24.04, 22.04
- FreeBSD Proserver
| Option | Description | Type | Required | Default |
|---|---|---|---|---|
remove_legacy_repository |
Whether to remove the legacy elastic repository. | bool | no | True |
version |
The major version of beats to install. | int | no | 8 |
repository |
Repository configuration for installing beats. | dict of 'repository' options | no |
| Option | Description | Type | Required | Default |
|---|---|---|---|---|
apt |
dict | no |
| Option | Description | Type | Required | Default |
|---|---|---|---|---|
enabled |
Whether to enable and install Metricbeat. | bool | no | False |
prefix |
Path prefixes for Metricbeat. | dict | no | |
config |
Metricbeat specific configuration. | dict | no |
| Option | Description | Type | Required | Default |
|---|---|---|---|---|
enabled |
Whether to enable and install Filebeat. | bool | no | False |
prefix |
Path prefixes for Filebeat. | dict | no | |
config |
Filebeat specific configuration. | dict | no |
None.
Add this role to the requirements.yml of your playbook as follows:
roles:
- name: ansible-proserver-beats
src: https://github.com/punktDe/ansible-proserver-beatsAfterwards, install the role by running ansible-galaxy install -r requirements.yml
- hosts: all
roles:
- name: beats