Skip to content

Commit

Permalink
Merge pull request #439 from vjrj/images-gpg-key
Browse files Browse the repository at this point in the history
Fix missing gpg and deprecated apt-key for elasticsearch. #438
  • Loading branch information
ansell authored Oct 6, 2020
2 parents f1316ef + cbd6655 commit bc875ec
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@
state: present

- name: Debian - Add Elasticsearch repository key
apt_key:
get_url:
url: '{{ es_apt_key }}'
state: present
dest: /etc/apt/trusted.gpg.d/elasticsearch.asc
mode: 0644
when: es_add_repository and es_apt_key | string

- name: Debian - Add elasticsearch repository
Expand Down

0 comments on commit bc875ec

Please sign in to comment.