Skip to content

fooeybartoni/ansible-role-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Java

Build Status

Installs Java for RedHat/CentOS 6.x and Debian/Ubuntu linux servers.

Requirements

None.

Forked from Daniel Groves excellent repo geerlingguy/ansible-role-java

Thanks Daniel

Role Variables

Available variables are listed below, along with default values:

java_packages:
  - java-1.6.0-openjdk

Set the version/development kit of Java to install, along with any other necessary Java packages. Some other options include are included in the distribution-specific files in this role's 'defaults' folder. Note that you must include this variable in order to have the proper version of Java installed, due to cross-platform compatibility issues (see: Issue #8121).

Dependencies

  • None

Example Vagrant Playbook (put in parent directory) for deploying use appropriate user name and hosts

---
- hosts: all
  user: vagrant
  sudo: yes

  roles:
    - ansible-role-java

License

MIT / BSD

Author Information

This role was forked in Nov 2014 by [Bruce Goldfeder] ([email protected]) based on the original codebase created in 2014 by Jeff Geerling, author of Ansible for DevOps.

About

Ansible Role - Java.

Resources

Stars

Watchers

Forks

Packages

No packages published