--- - import_tasks: openjdk-8.yml when: ansible_distribution == "Ubuntu" - import_tasks: openjdk-11.yml when: ansible_distribution == "Ubuntu" - import_tasks: openjdk-17.yml when: ansible_distribution == "Ubuntu"