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

Commit

Permalink
7.5.0 release (#62)
Browse files Browse the repository at this point in the history
* [7.5.0] update changelog

* [7.5.0] bump version
  • Loading branch information
jmlrt committed Dec 2, 2019
1 parent d51ef34 commit e3ccf93
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 7.5.0 - 2019/12/02

* 7.5.0 as default version
* 6.8.5 as 6.x tested version in [#57](https://github.com/elastic/ansible-beats/pull/57) [@jmlrt](https://github.com/jmlrt)

| PR | Author | Title |
| ------------------------------------------------------ | ------------------------------------------------ | -------------------------------------------------------------- |
|[#50](https://github.com/elastic/ansible-beats/pull/50) | [@jmlrt](https://github.com/jmlrt) | Add bumper script |
|[#55](https://github.com/elastic/ansible-beats/pull/55) | [@tgadiev](https://github.com/tgadiev) | Update syntax to make it compliant to modern ansible-lint rules|
|[#53](https://github.com/elastic/ansible-beats/pull/53) | [@jmlrt](https://github.com/jmlrt) | Indent yaml for config file |
|[#51](https://github.com/elastic/ansible-beats/pull/51) | [@ktibi](https://github.com/ktibi) | Rename the handlers |
|[#59](https://github.com/elastic/ansible-beats/pull/59) | [@MartinVerges](https://github.com/MartinVerges) | Beat config improvements |


## 7.4.1 - 2019/10/23

* 7.4.1 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 @@ -30,7 +30,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,7.4.2
ansible-galaxy install elastic.beats,7.5.0
```

Then create your playbook yaml adding the role beats.
Expand All @@ -43,7 +43,7 @@ The simplest configuration therefore consists of:
roles:
- role: elastic.beats
vars:
beats_version: 7.4.2
beats_version: 7.5.0
beat: filebeat
beat_conf:
inputs:
Expand All @@ -53,11 +53,11 @@ The simplest configuration therefore consists of:
- /var/log/*.log
```

The above installs Filebeat 7.4.2 on the hosts 'localhost'.
The above installs Filebeat 7.5.0 on the hosts 'localhost'.

**Notes**:
- Beats default version is described in [`beats_version`](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.4.2](defaults/main.yml#L4) and [6.8.5](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.5.0](defaults/main.yml#L4) and [6.8.5](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 @@ -163,7 +163,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.4.2`*): Beats version.
- **beats_version** (*Defaults to `7.5.0`*): 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.
- **start_service** (*Defaults to `true`*): service will be started if true, false otherwise.
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# defaults file for beats

beats_version: 7.4.2
beats_version: 7.5.0
version_lock: false
use_repository: true
start_service: true
Expand Down
4 changes: 2 additions & 2 deletions helpers/bumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

old_versions = {
6: '6.8.4',
7: '7.4.1',
7: '7.4.2',
}

new_versions = {
6: '6.8.5',
7: '7.4.2',
7: '7.5.0',
}

files = [
Expand Down

0 comments on commit e3ccf93

Please sign in to comment.