Update tests to pass on macOS arm64 (#11544)

This commit is contained in:
Matt Clay
2026-02-27 09:55:29 -08:00
committed by GitHub
parent 8929caece6
commit 9b9d8eac09
6 changed files with 31 additions and 13 deletions

View File

@@ -52,9 +52,11 @@
- name: Symlink java
become: true
file:
src: "/usr/local/opt/openjdk@17/libexec/openjdk.jdk"
src: "{{ brew_prefix }}/opt/openjdk@17/libexec/openjdk.jdk"
dest: "/Library/Java/JavaVirtualMachines/openjdk-17.jdk"
state: link
vars:
brew_prefix: "{{ lookup('pipe', 'brew --prefix') }}"
when:
- ansible_facts.os_family == 'Darwin'