Skip to content

Instantly share code, notes, and snippets.

View iamprashant's full-sized avatar
🎯
Focusing

Prashant Srivastav iamprashant

🎯
Focusing
View GitHub Profile
@iamprashant
iamprashant / install.java.ansible.yml
Last active December 12, 2017 08:07
Ansible Playbook to install Java 8
---
- hosts: localhost
remote_user: prashant
vars:
download_url: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jre-8u151-linux-x64.tar.gz
download_folder: /home/ubuntu/temp
java_name: "jre1.8.0_151"
java_archive: "jre-8u151-linux-x64.tar.gz"
java_home: /usr/local/java