diff --git a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/main.yml b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/main.yml index 94b9424d37..3c73b69aad 100644 --- a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/main.yml @@ -126,7 +126,7 @@ jdk_version: 17 when: - ansible_distribution != "Solaris" - - (ansible_distribution != "Alpine" and ansible_architecture != "aarch64") + - not (ansible_distribution == "Alpine" and ansible_architecture == "aarch64") tags: build_tools - role: adoptopenjdk_install # JDK21 Build Bootstrap jdk_version: 20