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

Commit

Permalink
Merge pull request #73 from jmlrt/760-release
Browse files Browse the repository at this point in the history
7.6.0 release
  • Loading branch information
jmlrt authored Feb 11, 2020
2 parents f5cb3d1 + 6ee8183 commit 95994cc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 7.6.0 - 2020/02/11

* 7.6.0 as default version

| PR | Author | Title |
| ------------------------------------------------------ | ------------------------------------------------------ | -------------------------------------------------------- |
|[#69](https://github.com/elastic/ansible-beats/pull/69) | [@dependabot[bot]](https://github.com/apps/dependabot) | Bump rubyzip from 1.2.2 to 2.0.0 |
|[#71](https://github.com/elastic/ansible-beats/pull/71) | [@jmlrt](https://github.com/jmlrt) | Fix filebeat example configuration |
|[#72](https://github.com/elastic/ansible-beats/pull/72) | [@beand](https://github.com/beand) | Fixed typo |


## 7.5.2 - 2020/01/21

* 7.5.2 as default version
Expand All @@ -10,7 +21,6 @@
|[#67](https://github.com/elastic/ansible-beats/pull/67) | [@jmlrt](https://github.com/jmlrt) | [ci] bump ruby to 2.5.7 |



## 7.5.1 - 2019/12/18

* 7.5.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.5.2
ansible-galaxy install elastic.beats,7.6.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.5.2
beats_version: 7.6.0
beat: filebeat
beat_conf:
filebeat:
Expand All @@ -54,11 +54,11 @@ The simplest configuration therefore consists of:
- /var/log/*.log
```
The above installs Filebeat 7.5.2 on the hosts 'localhost'.
The above installs Filebeat 7.6.0 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.5.2](https://github.com/elastic/ansible-beats/blob/master/defaults/main.yml#L4) and [6.8.6](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.6.0](https://github.com/elastic/ansible-beats/blob/master/defaults/main.yml#L4) and [6.8.6](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 @@ -164,7 +164,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.5.2`*): Beats version.
- **beats_version** (*Defaults to `7.6.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,6 +1,6 @@
---
# defaults file for beats
beats_version: 7.5.2
beats_version: 7.6.0
oss_version: false
version_lock: false
use_repository: 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.5',
7: '7.5.1',
7: '7.5.2',
}

new_versions = {
6: '6.8.6',
7: '7.5.2',
7: '7.6.0',
}

files = [
Expand Down

0 comments on commit 95994cc

Please sign in to comment.