2020-02-09 14:15:24 +00:00
|
|
|
---
|
2023-07-05 09:36:13 +00:00
|
|
|
- name: Install dependencies packages
|
2022-04-07 12:55:14 +00:00
|
|
|
ansible.builtin.package:
|
2020-08-09 06:39:25 +00:00
|
|
|
name:
|
2020-02-09 14:15:24 +00:00
|
|
|
- apt-transport-https
|
2020-08-09 06:39:25 +00:00
|
|
|
- python3-requests
|
2020-02-09 14:15:24 +00:00
|
|
|
tags: elasticsearch
|
|
|
|
|
2023-07-05 09:36:13 +00:00
|
|
|
- name: Add repository key
|
2022-04-07 12:55:14 +00:00
|
|
|
ansible.builtin.apt_key:
|
2020-02-09 14:15:24 +00:00
|
|
|
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
|
|
|
tags: elasticsearch
|
|
|
|
|
2023-07-05 09:36:13 +00:00
|
|
|
- name: Add repository
|
2022-04-07 12:55:14 +00:00
|
|
|
ansible.builtin.apt_repository:
|
2020-02-09 14:15:24 +00:00
|
|
|
repo: deb https://artifacts.elastic.co/packages/7.x/apt stable main
|
|
|
|
tags: elasticsearch
|
|
|
|
|
2023-07-05 09:36:13 +00:00
|
|
|
- name: Install package
|
2022-04-07 12:55:14 +00:00
|
|
|
ansible.builtin.package:
|
2022-01-18 10:20:31 +00:00
|
|
|
name:
|
|
|
|
- elasticsearch
|
2020-02-09 14:15:24 +00:00
|
|
|
tags: elasticsearch
|