ansible/roles/elastic_common/tasks/main.yml

21 lines
427 B
YAML
Raw Normal View History

---
- name: Trust Elastic GPG key
become: true
apt_key:
data: "{{ lookup('file', 'elastic.gpg') }}"
state: present
- name: Install Elastic OSS repository
become: true
apt_repository:
repo: deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main
state: present
filename: elastic-oss-7
- name: Install default JRE
become: true
apt:
name: default-jre-headless
state: latest
...