ansible-role-elasticsearch/templates/elasticsearch.repo

12 lines
433 B
Text
Raw Normal View History

[elasticsearch-{{ es_major_version }}]
name=Elasticsearch repository for {{ es_major_version }} packages
2017-01-13 11:59:31 +00:00
baseurl=https://artifacts.elastic.co/packages/{{ es_major_version }}/yum
2015-05-13 09:45:55 +02:00
gpgcheck=1
2017-01-13 11:59:31 +00:00
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
2015-05-13 09:45:55 +02:00
enabled=1
autorefresh=1
type=rpm-md
{% if es_proxy_host is defined and es_proxy_host != '' and es_proxy_port is defined %}
proxy=http://{{ es_proxy_host }}:{{es_proxy_port}}
{% endif %}