Fix libxcrypt test setup on macOS 26.3 (#86598)

pull/86600/head
Matt Clay 1 month ago committed by GitHub
parent 8e9ce75266
commit e82d9564f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -35,5 +35,8 @@
notify: libxcrypt was installed
become: yes
become_user: "{{ brew_stat.stat.pw_name }}"
vars:
# Avoid using the current interpreter, which may be from a venv that the become user has no access to.
ansible_python_interpreter: "{{ lookup('env', 'ANSIBLE_TEST_PYTHON_INTERPRETER') }}"
environment:
HOMEBREW_NO_AUTO_UPDATE: True

@ -32,5 +32,8 @@
command: brew uninstall libxcrypt
become: yes
become_user: "{{ brew_stat.stat.pw_name }}"
vars:
# Avoid using the current interpreter, which may be from a venv that the become user has no access to.
ansible_python_interpreter: "{{ lookup('env', 'ANSIBLE_TEST_PYTHON_INTERPRETER') }}"
environment:
HOMEBREW_NO_AUTO_UPDATE: True

Loading…
Cancel
Save