diff options
| author | 2022-10-12 20:23:37 +0100 | |
|---|---|---|
| committer | 2022-10-18 23:14:17 +0200 | |
| commit | 1295dd8f97b7aed56cfa842da7d1923af1a526d5 (patch) | |
| tree | 74d7eca1ce00bedd34094a441060b0f0d95afead /roles/elasticsearch-repos/tasks/main.yml | |
| parent | Disable `fqcn-builtins` lint (diff) | |
Delete roles we won't use with self-hosted k8s
Diffstat (limited to 'roles/elasticsearch-repos/tasks/main.yml')
| -rw-r--r-- | roles/elasticsearch-repos/tasks/main.yml | 31 |
1 files changed, 0 insertions, 31 deletions
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 |