Fix idempotency for both supported CentOS versions (#747)
* Fix idempotency for version lock broken in CentOS8
This commit is contained in:
parent
cc4d7fa98c
commit
5b3976cd20
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue