Skip to content
Snippets Groups Projects
Commit 401baa57 authored by jurgenhaas's avatar jurgenhaas
Browse files

Simple installation

parent 786f4ebb
No related branches found
No related tags found
No related merge requests found
# Java
# sudo add-apt-repository ppa:webupd8team/java -y
# sudo apt-get update
# sudo apt-get install oracle-java8-installer
---
# file: roles/java/tasks/main.yml
- name: "Apt Repository"
apt_repository:
repo='deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main'
state='present'
- name: "Install Agent"
apt:
pkg='oracle-java8-installer'
state='installed'
update_cache=yes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment