From 8d31b91880fc2fb25afbbe3a925ca1de9ef2b295 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Fernandez Date: Wed, 31 Aug 2016 11:10:02 +0200 Subject: [PATCH] Initial Commit --- README.md | 11 +++++++++++ playbook.yml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ef2923..3408661 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,22 @@ Ansible Role to install java It installs java on ubuntu via ppa and sets the same ppa on Debian using trusty version To set multiple versions + ```bash java_version: ['6', '7', '8'] ``` To set system defaults + ```bash java_set_version: '8' ``` + + +To launch tests + +```bash +molecule test +``` + +There is a pre_task with python2 to satisfy ubuntu vbox image dependencies diff --git a/playbook.yml b/playbook.yml index e28bc61..6e1ea8f 100644 --- a/playbook.yml +++ b/playbook.yml @@ -7,4 +7,4 @@ - hosts: all roles: - - role: java + - role: java-role