Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
7.11.1 release (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine authored Feb 18, 2021
1 parent 2f55ac9 commit 85d416e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 7.11.1

* 7.11.1 as default version.
* 6.8.14 as 6.x tested version

## 7.10.2

* 7.10.2 as default version.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This role provides a generic means of installing Elastic supported Beats
Create your Ansible playbook with your own tasks, and include the role beats. You will have to have this repository accessible within the context of playbook.

```sh
ansible-galaxy install elastic.beats,v7.10.2
ansible-galaxy install elastic.beats,v7.11.1
```

Then create your playbook yaml adding the role beats.
Expand All @@ -44,7 +44,7 @@ The simplest configuration therefore consists of:
roles:
- role: elastic.beats
vars:
beats_version: 7.10.2
beats_version: 7.11.1
beat: filebeat
beat_conf:
filebeat:
Expand All @@ -55,11 +55,11 @@ The simplest configuration therefore consists of:
- /var/log/*.log
```
The above installs Filebeat 7.10.2 on the hosts 'localhost'.
The above installs Filebeat 7.11.1 on the hosts 'localhost'.
**Notes**:
- Beats default version is described in [`beats_version`](https://github.com/elastic/ansible-beats/blob/master/defaults/main.yml#L4). You can override this variable in your playbook to install another version.
While we are testing this role only with one 7.x and one 6.x version (respectively [7.10.2](https://github.com/elastic/ansible-beats/blob/master/defaults/main.yml#L4) and [6.8.13](https://github.com/elastic/ansible-beats/blob/master/test/integration/standard-6x.yml#L7) at the time of writing), this role should work with others version also in most cases.
While we are testing this role only with one 7.x and one 6.x version (respectively [7.11.1](https://github.com/elastic/ansible-beats/blob/master/defaults/main.yml#L4) and [6.8.14](https://github.com/elastic/ansible-beats/blob/master/test/integration/standard-6x.yml#L7) at the time of writing), this role should work with others version also in most cases.
- Beat product is described in `beat` variable. While currently tested Beats are Filebeat, Metricbeat & Packetbeat, this role should work also with other member of [The Beats Family](https://www.elastic.co/products/beats) in most cases.

## Testing
Expand Down Expand Up @@ -165,7 +165,7 @@ Supported variables are as follows:

- **beat** (*MANDATORY*): Beat product. Supported values are: "filebeat", "metricbeat" & "packetbeat" (others beats from [The Beats Family](https://www.elastic.co/products/beats) should work in most cases but aren't currently tested).
- **beat_conf** (*MANDATORY*): Beat Configuration. Should be defined as a map.
- **beats_version** (*Defaults to `7.10.2`*): Beats version.
- **beats_version** (*Defaults to `7.11.1`*): Beats version.
- **version_lock** (*Defaults to `false`*): Locks the installed version if set to true, thus preventing other processes from updating. This will not impact the roles ability to update the beat on subsequent runs (it unlocks and re-locks if required).
- **use_repository** (*Defaults to `true`*): Use elastic repo for yum or apt if true. If false, a custom custom_package_url must be provided.
- **beats_add_repository** (*Defaults to `{use_repository}`*): Install elastic repo for yum or apt if true. If false, the present repositories will be used. Useful if you already have beats packages in your repo.
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# defaults file for beats
beats_version: 7.10.2
beats_version: 7.11.1
oss_version: false
version_lock: false
use_repository: true
Expand Down
2 changes: 1 addition & 1 deletion test/integration/standard-6x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
input_type: log
registry_file: /var/lib/filebeat/registry
vars:
beats_version: 6.8.13
beats_version: 6.8.14
use_repository: "true"

0 comments on commit 85d416e

Please sign in to comment.