Installs Java on Windows
playbook.yml:
- { role: ansible-windows-java }
requirements.yml:
- src: https://github.com/jamesla/ansible-windows-java.git
version: master
name: ansible-windows-java
Override these variables to change the version of JDK installed.
jdk_package: jdk8
java_major_version: 8.0
java_minor_version: 162
This role installs JDK.