mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
11
roles/repo_elasticsearch/tasks/install_Debian.yml
Normal file
11
roles/repo_elasticsearch/tasks/install_Debian.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Add ElasticSearch repo key
|
||||
apt_key:
|
||||
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
tags: repo
|
||||
|
||||
- name: Add ElasticSearch repository
|
||||
apt_repository:
|
||||
repo: deb https://artifacts.elastic.co/packages/{{ es_major_version }}.x/apt stable main
|
||||
filename: elasticsearch
|
||||
tags: repo
|
10
roles/repo_elasticsearch/tasks/install_RedHat.yml
Normal file
10
roles/repo_elasticsearch/tasks/install_RedHat.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Add ElasticSearch repository
|
||||
yum_repository:
|
||||
name: elasticsearch
|
||||
description: ElasticSearch
|
||||
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
|
3
roles/repo_elasticsearch/tasks/main.yml
Normal file
3
roles/repo_elasticsearch/tasks/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
- include: install_{{ ansible_os_family }}.yml
|
Reference in New Issue
Block a user