mirror of
https://github.com/ansible/ansible.git
synced 2026-07-28 08:05:22 +02:00
Fix libxcrypt test setup on macOS 26.3 (#86598)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user