ansible-role-elasticsearch/tasks/packages.yml

24 lines
583 B
YAML
Raw Normal View History

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:
repo: "deb https://artifacts.elastic.co/packages/{{ elasticsearch_major_version }}.x/apt stable main"
2020-02-09 14:15:24 +00:00
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