-
-
Notifications
You must be signed in to change notification settings - Fork 140
Cask task fails #9
Comments
It seems this may be a problem with cask / the OS environment rather than this role (it's working for me on 10.10.3 and also on a fresh/clean VM running 10.10.2)... is there anything helpful in this upstream issue? Homebrew/homebrew-cask#4667 |
Also, did you override the It should at least have: homebrew_taps:
- caskroom/cask |
The destination machine has OSX 10.10.2 The playbook is
sshing into the machine I can run brew cask tasks without issues |
Getting the same error following an upgrade to 10.10.3 |
I'm encountering the same issue with a Vagrant OSX image ESTABLISH CONNECTION FOR USER: vagrant failed: [test] => {"changed": false, "cmd": "brew cask list", "failed": true, "rc": 2} FATAL: all hosts have already failed -- aborting |
NB The ansible module for homebrew does work
|
I had this same problem. It looks like it is due to the 'command' module not finding 'brew' on whatever path it is using. If you change the command to '/usr/local/bin/brew cask list', it should work. |
Added new variable in commit above, so this role should be a bit more robust in situations where the $PATH doesn't include |
The text was updated successfully, but these errors were encountered: