Closed fourstepper closed 3 years ago
Hi @fourstepper, Thanks for opening this issue. Unfortunately we currently don't have time to investigate every tickets so please be patient.
Hi @jmlrt, no worries - I might look into this myself, should not be too hard to fix.
Best!
Elasticsearch version 7.10.0
Role version: (If using master please specify github sha) latest
JVM version (
java -version
): /OS version (
uname -a
if on a Unix-like system): CentOS 8Description of the problem including expected versus actual behaviour:
Version lock on RedHat-like systems is not idempotent.
https://github.com/elastic/ansible-elasticsearch/blob/master/tasks/elasticsearch-RedHat-version-lock.yml
The check for the version lock is in this format:
yum versionlock list | grep -c {{es_package_name}}-{{es_version}}
Translated to the elasticsearch version above, that would be the equivalent of
yum versionlock list | grep -c elasticsearch-7.10.0
which returns:0
The version lock actually looks like this:
Playbook: Vars used are:
es_version_lock: true
es_version: 7.10.0
Provide logs from Ansible: The results don't change with each run - lock elasticsearch version stays changed