[ci-workers] Add support for MacOSX
This commit is contained in:
10
contrib/ci-workers/tasks/install-brew.yml
Normal file
10
contrib/ci-workers/tasks/install-brew.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- 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
|
||||
Reference in New Issue
Block a user