ansible-roles/java/tasks/main.yml
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00

11 lines
217 B
YAML

---
# - fail:
# msg: "This role support only java 8 for now !"
# when: java_version != 8
- include: openjdk.yml
when: java_alternative == 'openjdk'
- include: oracle.yml
when: java_alternative == 'oracle'