java
ConduentLCS.java
This role is for installing Java via a remote tarball over HTTP(S) or from public repository if java_tarball_url
variable is not defined.
Requirements
None.
Role Variables
Optional
java_tarball_url
-- The URL to pull the Java tarball from.
Optional
java_install_base
: Defaults to/usr/local
java_current_link
: Defaults to{{ java_install_base }}/java
java_tarball_file
: Defaults to{{ java_tarball_url | basename }}
java_tarball_directory
: Defaults to{{ java_install_base }}/{{ java_tarball_file | regex_replace('(\\.tar\\.gz|.tgz)', '') }}
java_tarball_tmp
: Defaults to/tmp/{{ java_tarball_file }}
Dependencies
None
Example Playbook
- hosts: servers
roles:
- role: ConduentLCS.java
License
BSD-3-Clause
Author Information
Install
ansible-galaxy install ConduentLCS/ansible-role-java
License
Unknown
Downloads
74