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

Commit

Permalink
Fix idempotency for both supported CentOS versions (#747)
Browse files Browse the repository at this point in the history
* Fix idempotency for version lock broken in CentOS8
  • Loading branch information
fourstepper authored Dec 3, 2020
1 parent cc4d7fa commit 5b3976c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/elasticsearch-RedHat-version-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- name: RedHat - check if requested elasticsearch version lock exists
become: yes
shell: yum versionlock list | grep -c {{es_package_name}}-{{es_version}}
shell: 'yum versionlock list | grep {{es_package_name}} | grep -c "{{es_version}}"'
register: es_requested_version_locked
args:
warn: false
Expand Down

0 comments on commit 5b3976c

Please sign in to comment.