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 }}'