ansible-test: do not upgrade homebrew to speed up tests (#49914)

This commit is contained in:
Jordan Borean
2018-12-14 10:46:16 +10:00
committed by GitHub
parent c97d2c25b4
commit 695feea541
3 changed files with 12 additions and 0 deletions

View File

@@ -55,6 +55,10 @@
update_homebrew: no
become: yes
become_user: "{{ brew_stat.stat.pw_name }}"
# Newer versions of brew want to compile a package which takes a long time. Do not upgrade homebrew until a
# proper solution can be found
environment:
HOMEBREW_NO_AUTO_UPDATE: True
when:
- ansible_python_version.split('.')[0] == '2'
- ansible_os_family == 'Darwin'