Skip to content

Commit

Permalink
Merge pull request #18 from Cloud-Temple/develop
Browse files Browse the repository at this point in the history
Make it work for Ubuntu 20.04 and Es 7.13.2
  • Loading branch information
fedelemantuano committed Jul 29, 2021
2 parents b30ae7c + f8fa79e commit a3d7057
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 4 additions & 3 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
# Commons parameters for all ELK Stack
es_major_version: "7.x"
es_version: "7.11.2"
es_version: "7.13.2"
es_use_repository: true
es_apt_key: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
es_apt_url: "deb https://artifacts.elastic.co/packages/{{ es_repo_name }}/apt stable main"
es_repo_base: "https://artifacts.elastic.co"
es_apt_key: "{{ es_repo_base }}/GPG-KEY-elasticsearch"
es_apt_url: "deb {{ es_repo_base }}/packages/{{ es_repo_name }}/apt stable main"
es_apt_url_old: "deb http://packages.elastic.co/elasticsearch/{{ es_repo_name }}/debian stable main"
#Elasticsearch username and password
es_user: kibana_system
Expand Down
5 changes: 4 additions & 1 deletion tasks/kibana-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@

- name: Debian - Add Elasticsearch repository key
become: yes
apt_key: url="{{ es_apt_key }}" state=present
apt_key:
url: "{{ es_apt_key }}"
id: "{{ es_apt_key_id }}"
state: present
when: es_use_repository | bool and es_apt_key is defined | bool
register: result
until: result is not failed
Expand Down
1 change: 1 addition & 0 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
java: "{% if es_java is defined %}{{ es_java }}{% else %}openjdk-8-jre-headless{% endif %}"
kibana_home: "/usr/share/kibana"
default_file: "/etc/default/kibana"
es_apt_key_id: "46095ACC8548582C1A2699A9D27D666CD88E42B4"

0 comments on commit a3d7057

Please sign in to comment.