forked from hush/hush3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
278 B
10 lines
278 B
---
|
|
- name: Check if brew is installed
|
|
stat:
|
|
path: /usr/local/bin/brew
|
|
register: brew_check
|
|
|
|
- name: Fail if brew is unavailable
|
|
fail:
|
|
msg: 'brew is not installed! Please install Homebrew: https://docs.brew.sh/Installation.html'
|
|
when: not brew_check.stat.exists
|
|
|