Added versionlock to elasticsearch-RedHat.yml as it has to be done before install
This commit is contained in:
parent
2fdbd4abb4
commit
cd9d8565a4
1 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,10 @@
|
|||
template: src=elasticsearch.repo dest=/etc/yum.repos.d/elasticsearch-{{ es_major_version }}.repo
|
||||
when: es_use_repository
|
||||
|
||||
- name: Include RHEL versionlock
|
||||
include: elasticsearch-RedHat-version-lock.yml
|
||||
when: es_version_lock
|
||||
|
||||
- name: RedHat - Install Elasticsearch
|
||||
yum: name=elasticsearch{% if es_version is defined and es_version != "" %}-{{ es_version }}{% endif %} state=present update_cache=yes
|
||||
when: es_use_repository
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue