Don't use deprecated way to add apt key
This commit is contained in:
parent
709ca9ae88
commit
24e959e72c
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
- name: "Opensearch | Add repository key"
|
||||
ansible.builtin.apt_key:
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ opensearch_apt_key_url }}"
|
||||
dest: /etc/apt/trusted.gpg.d/opensearch.asc
|
||||
mode: "0644"
|
||||
|
||||
- name: "Opensearch | Add repository"
|
||||
ansible.builtin.apt_repository:
|
||||
|
@ -58,4 +60,3 @@
|
|||
src: update-opensearch-plugins.j2
|
||||
dest: "/usr/local/bin/{{ opensearch_plugin_update_script }}"
|
||||
mode: "0755"
|
||||
|
||||
|
|
Loading…
Reference in a new issue