Commit 75b74c23 authored by Daniel Berman's avatar Daniel Berman Committed by GitHub
Browse files

Update main.yml

parent 4bc1f13c
......@@ -2,20 +2,21 @@
#
# Install Java
#
- name: Update and upgrade apt packages
- name: Update and upgrade apt packages
become: true
apt:
upgrade: yes
update_cache: yes
- name: Install java 8 requirements
- name: Install java 8 requirements
apt: name=python-software-properties
- name: Add Java 8 repository
- name: Add Java 8 repository
apt_repository: repo='ppa:webupd8team/java'
- name: Agree to oracle license
- name: Agree to oracle license
debconf: name=oracle-java8-installer question=shared/accepted-oracle-license-v1-1 vtype=select value=true
- name: Install Java 8
- name: Install Java 8
apt: name=oracle-java8-installer force=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