---
# - fail:
#     msg: "This role support only java 8 for now !"
#   when: java_version != 8

- ansible.builtin.include: openjdk.yml
  when: java_alternative == 'openjdk'

- ansible.builtin.include: oracle.yml
  when: java_alternative == 'oracle'
