Commit 2daac04b authored by Daniel Berman's avatar Daniel Berman Committed by GitHub
Browse files

Update main.yml

parent 83e08ab5
......@@ -3,27 +3,21 @@
# Installing Java 8
#
# Install Java 8 requirements
# Add the Java repo
- name: Install Java requirements
apt:
name: python-software-properties
state: present
- name: Install Java requirements
apt:
name: software-properties-common
state: present
- name: Add the Java PPA repo
apt_repository:
repo: ppa:webupd8team/java
# Update apt repos
- name: Udpate apt
apt:
update_cache: yes
# Accept Oracle license
# Install Java 8
- name: Automatically accept the Oracle license
shell: echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
# Install Java
- name: Install Java 8
- name: Install Java 8
apt:
name: defualt-jre
state: present
name: oracle-java8-installer
state: present
update_cache: yes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment