NETWAYS / ansible-collection-elasticstack

A collection to install and manage the Elastic Stack
GNU General Public License v3.0
9 stars 8 forks source link

[Bug]: Rework version selection, especially in beats #313

Open widhalmt opened 4 months ago

widhalmt commented 4 months ago

Please try to fill out as much of the information below as you can. Thank you!

Which version contains the bug?

No response

Describe the bug

If you check the code parts that install packages you will find that Beats have twice as many tasks as others. That's because they have support for latest in version.

So either we build something similar in all the roles (don't like the idea) or we get rid of the option to set version to latest. When building a solution, please consider #250 where we add code to first determine which version to install and then use this for all other packages.

How to recreate the bug?

Nothing really to recreate. Just review the code.