Commit 6ecd2714 authored by Daniel Berman's avatar Daniel Berman Committed by GitHub
Browse files

Create main.yml

parent e204b3d4
# Install Java
- name: Update and upgrade apt packages
become: true
upgrade: yes
update_cache: yes
- name: Install java 8 requirements
apt: name=python-software-properties
- name: Add Java 8 repository
apt_repository: repo='ppa:webupd8team/java'
- 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
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