Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
clean up old java role
Browse files Browse the repository at this point in the history
  • Loading branch information
fktkrt committed Aug 17, 2020
1 parent 8ac0f7e commit 41b10d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions group_vars/all.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
---

download_url: http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
download_folder: /opt
java_name: "{{download_folder}}/jdk1.8.0_131"
java_archive: "{{download_folder}}/jdk-8u131-linux-x64.tar.gz"

update_java: false
java_version: "{% if ansible_os_family == 'Debian' and ansible_distribution_major_version == '10' %}11{% else %}8{% endif %}"
java: "{% if es_java is defined %}{{es_java}}{% else %}openjdk-{{ java_version }}-jre-headless{% endif %}"
Expand Down
1 change: 1 addition & 0 deletions roles/java/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# Based on https://github.com/elastic/ansible-elasticsearch

- name: set fact java_state to present
set_fact: java_state="present"
Expand Down

0 comments on commit 41b10d0

Please sign in to comment.