mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2022-01-26 16:00
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
- name: Add ElasticSearch repo key
|
||||
apt_key:
|
||||
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
tags: repo
|
||||
tags: repo,logs
|
||||
|
||||
- name: Add ElasticSearch repository
|
||||
apt_repository:
|
||||
repo: deb https://artifacts.elastic.co/packages/{{ es_major_version }}.x/apt stable main
|
||||
filename: elasticsearch
|
||||
tags: repo
|
||||
tags: repo,logs
|
||||
|
@@ -1,10 +1,23 @@
|
||||
---
|
||||
- name: Add ElasticSearch repository
|
||||
- name: Add ElasticSearch OSS repository
|
||||
yum_repository:
|
||||
name: elasticsearch
|
||||
description: ElasticSearch
|
||||
name: elasticsearch-oss
|
||||
file: elasticsearch
|
||||
description: ElasticSearch OSS
|
||||
baseurl: https://artifacts.elastic.co/packages/oss-{{ es_major_version }}.x/yum
|
||||
gpgcheck: True
|
||||
repo_gpgcheck: True
|
||||
gpgkey: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
tags: repo
|
||||
tags: repo,logs
|
||||
|
||||
- name: Handle Elasticsearch (non OSS) repository
|
||||
yum_repository:
|
||||
name: elasticsearch
|
||||
file: elasticsearch
|
||||
description: ElasticSearch
|
||||
baseurl: https://artifacts.elastic.co/packages/{{ es_major_version }}.x/yum
|
||||
gpgcheck: True
|
||||
repo_gpgcheck: True
|
||||
gpgkey: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
state: absent
|
||||
tags: repo,logs
|
||||
|
Reference in New Issue
Block a user