[PR #11544/9b9d8eac backport][stable-12] Update tests to pass on macOS arm64 (#11545)

Update tests to pass on macOS arm64 (#11544)

(cherry picked from commit 9b9d8eac09)

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
patchback[bot]
2026-02-27 19:29:47 +01:00
committed by GitHub
parent d45044790a
commit eae5987be1
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'