Add apt signing key via Ansible

Add apt signing key via Ansible by using the playbook below.

- name: Add an apt signing key, will not download if present
  apt_key:
    url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
    state: present

 

You may also like...