Install OpenJDK 1.8 (from jessie-backports)
Everything is in the tasks/main.yml file.
tasks/main.yml
java8_default_alternative