forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request elastic#29 from jakommo/master
EL package installation from url and Java simplification
- Loading branch information
Showing
8 changed files
with
10 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
--- | ||
- name: Java - Define java_packages | ||
set_fact: | ||
java_packages: "{{ __java_packages | list }}" | ||
when: java_packages is not defined | ||
|
||
- name: Include Debian specific Java stuff | ||
include: java-Debian.yml | ||
when: ansible_os_family == 'Debian' | ||
|
||
- name: Include RedHat specific Java stuff | ||
include: java-RedHat.yml | ||
- name: RedHat - Ensure Java is installed | ||
yum: name={{ java_rhel }} state=latest | ||
when: ansible_os_family == 'RedHat' | ||
|
||
|
||
|
||
- name: Debian - Ensure Java is installed | ||
apt: name={{ java_debian }} state=present update_cache=yes | ||
when: ansible_os_family == 'Debian' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
--- | ||
es_package_url: "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch" | ||
java_debian: "openjdk-7-jre-headless" | ||
java_rhel: "java-1.8.0-openjdk.x86_64" | ||
es_package_url: "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch" |