Skip to content

ahmedfourti/ansible-roles-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name: Java

This is a basic role to install Java in your systems.

Requirements

No requirements

Role Variables

java_packages_redhat: Java version for Redhat systems.
java_packages_debian: Java version for Debian systems.

Installation

You can get this role by using git clone command.
You can also add this repo to your requirements.yml and use ansible-galaxy install -r requirements.yml -p {{path_to_roles}}
Or you can download and unzip it in your roles directory

Example Playbook

---
   - name: Deploying Demo
     hosts:
       - web-debian
       - web-centos
     become: yes
     roles:
       - java
     vars:
       #Role Java
       java_packages_redhat:
         - java-1.8.0-openjdk
       java_packages_debian:
         - oracle-java8-installer

License

BSD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published