[ci-workers] Add support for MacOSX

This commit is contained in:
Jack Grigg
2017-10-20 18:23:25 +13:00
parent 62ac481806
commit 9d1c37f793
4 changed files with 70 additions and 6 deletions

View 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