From 5cbfd84bfc881eaaaa97d7ff2fd7788635e7dbdc Mon Sep 17 00:00:00 2001 From: Brigzzy Date: Wed, 29 Sep 2021 21:06:34 -0700 Subject: [PATCH] Install GPG when adding the repo on Debian systems --- tasks/elasticsearch-Debian.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/elasticsearch-Debian.yml b/tasks/elasticsearch-Debian.yml index f6e4c17c..4ce498f0 100644 --- a/tasks/elasticsearch-Debian.yml +++ b/tasks/elasticsearch-Debian.yml @@ -46,6 +46,11 @@ name: apt-transport-https state: present + - name: Debian - Install gpg to support the requirement of apt_key in the next play + apt: + name: gpg + state: present + - name: Debian - Add Elasticsearch repository key apt_key: url: '{{ es_apt_key }}'