mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 17:14:20 +01:00
Updated yum repository URL for 5.x
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
[elasticsearch-{{ es_major_version }}]
|
[elasticsearch-{{ es_major_version }}]
|
||||||
name=Elasticsearch repository for {{ es_major_version }} packages
|
name=Elasticsearch repository for {{ es_major_version }} packages
|
||||||
baseurl=http://packages.elastic.co/elasticsearch/{{ es_major_version }}/centos
|
baseurl={% if es_version | version_compare('5.0', '>=') %}https://artifacts.elastic.co/packages/{{ es_major_version }}/yum{% else %}http://packages.elastic.co/elasticsearch/{{ es_major_version }}/centos{% endif %}
|
||||||
|
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
|
gpgkey={% if es_version | version_compare('5.0', '>=') %}https://artifacts.elastic.co/GPG-KEY-elasticsearch{% else %}http://packages.elastic.co/GPG-KEY-elasticsearch{% endif %}
|
||||||
|
|
||||||
enabled=1
|
enabled=1
|
||||||
|
|||||||
Reference in New Issue
Block a user