mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-18 09:34:20 +01:00
Use es_custom_package_url in EL if provided.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
register: elasticsearch_install
|
||||
|
||||
- name: RedHat - Install Elasticsearch from url
|
||||
yum: name={{ es_package_url }}-{{ es_version }}.noarch.rpm state=present
|
||||
yum: name={% if es_custom_package_url is defined %}{{ es_custom_package_url }}{% else %}{{ es_package_url }}-{{ es_version }}.noarch.rpm{% endif %} state=present
|
||||
when: not es_use_repository
|
||||
register: elasticsearch_install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user