This commit is contained in:
root 2018-10-30 11:35:38 +00:00
parent 1bd21e381b
commit 9f4781cd9b
2 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,3 @@
---
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
apt:
@ -9,14 +8,14 @@
- apt-transport-https
- ca-certificates
- when: elasticsearch_install_java
block:
- name: Debian/Ubuntu | Setting webupd8 repository
apt_repository:
repo: 'ppa:webupd8team/java'
codename: 'xenial'
update_cache: yes
- when: elasticsearch_install_java
block:
- name: Debian/Ubuntu | Accept Oracle Java 8 license
debconf:
name: oracle-java8-installer

View File

@ -8,13 +8,13 @@
- apt-transport-https
- ca-certificates
- when: logstash_install_java
block:
- name: Debian/Ubuntu | Setting webupd8 repository
apt_repository:
repo: 'ppa:webupd8team/java'
codename: 'xenial'
- when: logstash_install_java
block:
- name: Debian/Ubuntu | Accept Oracle Java 8 license
debconf:
name: oracle-java8-installer