aboutsummaryrefslogtreecommitdiffstats
path: root/roles/elasticsearch-repos
diff options
context:
space:
mode:
Diffstat (limited to 'roles/elasticsearch-repos')
-rw-r--r--roles/elasticsearch-repos/README.md3
-rw-r--r--roles/elasticsearch-repos/handlers/main.yml5
-rw-r--r--roles/elasticsearch-repos/tasks/main.yml31
3 files changed, 0 insertions, 39 deletions
diff --git a/roles/elasticsearch-repos/README.md b/roles/elasticsearch-repos/README.md
deleted file mode 100644
index 7da91d0..0000000
--- a/roles/elasticsearch-repos/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Role "elasticsearch-repos"
-
-This role installs and configures the elasticsearch APT repositories.
diff --git a/roles/elasticsearch-repos/handlers/main.yml b/roles/elasticsearch-repos/handlers/main.yml
deleted file mode 100644
index 2111644..0000000
--- a/roles/elasticsearch-repos/handlers/main.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-- name: apt update
- apt:
- update_cache: true
- tags:
- - role::elasticsearch-repos
diff --git a/roles/elasticsearch-repos/tasks/main.yml b/roles/elasticsearch-repos/tasks/main.yml
deleted file mode 100644
index a76ad43..0000000
--- a/roles/elasticsearch-repos/tasks/main.yml
+++ /dev/null
@@ -1,31 +0,0 @@
----
-- name: Install GPG
- package:
- name: gpg
- state: present
- tags:
- - role::elasticsearch-repos
-
-- name: Install Elasticsearch signing key
- # noqa command-instead-of-module
- shell: >-
- set -o pipefail && wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch |
- gpg --yes --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
- args:
- creates: /usr/share/keyrings/elasticsearch-keyring.gpg
- tags:
- - role::elasticsearch-repos
-
-- name: Add Elasticsearch repository to apt
- copy:
- content: >-
- deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg]
- https://artifacts.elastic.co/packages/8.x/apt stable main
- dest: /etc/apt/sources.list.d/elastic-8.x.list
- owner: root
- group: root
- mode: 0644
- tags:
- - role::elasticsearch-repos
- notify:
- - apt update