Debian package url fixes for 5.x

This commit is contained in:
Dale McDiarmid 2017-01-13 11:59:31 +00:00
parent f664580ce6
commit 2b60a217ab
3 changed files with 5 additions and 37 deletions

View file

@ -3,9 +3,9 @@ es_major_version: "5.x"
es_version: "5.1.1" es_version: "5.1.1"
es_version_lock: false es_version_lock: false
es_use_repository: true es_use_repository: true
es_apt_key: "https://packages.elasticsearch.org/GPG-KEY-elasticsearch" es_apt_key: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
es_apt_url: "deb https://packages.elastic.co/elasticsearch/{{ es_major_version }}/debian stable main" es_apt_url: "deb https://artifacts.elastic.co/packages/{{ es_major_version }}/apt stable main"
es_apt_url_old: "deb http://packages.elastic.co/elasticsearch/{{ es_major_version }}/debian stable main" es_apt_url_old: "deb https://artifacts.elastic.co/packages/{{ es_major_version }}/apt stable main"
es_start_service: true es_start_service: true
es_java_install: true es_java_install: true
update_java: false update_java: false

View file

@ -1,30 +0,0 @@
---
allow_duplicates: yes
galaxy_info:
author: Robin Clarke, Jakob Reiter, Dale McDiarmid
description: Elasticsearch for Linux
company: "Elastic.co"
license: "license (Apache)"
<<<<<<< HEAD
# Require 1.6 for apt deb install
min_ansible_version: 2.1.0
=======
min_ansible_version: 2.0
>>>>>>> elastic/master
platforms:
- name: EL
versions:
- 6
- 7
- name: Debian
versions:
- all
- name: Ubuntu
versions:
- all
categories:
- system
dependencies: []

View file

@ -1,8 +1,6 @@
[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={% 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 %} baseurl=https://artifacts.elastic.co/packages/{{ es_major_version }}/yum
gpgcheck=1 gpgcheck=1
gpgkey={% if es_version | version_compare('5.0', '>=') %}https://artifacts.elastic.co/GPG-KEY-elasticsearch{% else %}http://packages.elastic.co/GPG-KEY-elasticsearch{% endif %} gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1 enabled=1