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

Solve version dependent configuration changes #246

Open widhalmt opened 10 months ago

widhalmt commented 10 months ago

In this collection, elastic_release is an integer, not a version. We have a version variable, that's not always used and can be filled with latest.

So checks like https://github.com/NETWAYS/ansible-collection-elasticstack/pull/243/commits/a5c88d449ffb17a59d0c5afea2d85890805d8b3c are very helpful bon't won't work with the current implementation.

There could be a combined solution for this issue and #236 . So set a variable that contains the actual or desired version and then use it for checks like the one in jvm.options. For now I have to deactivate the checks because they create illegal code for version 7.