ansible-collection-mac
ansible-collection-mac copied to clipboard
Homebrew cask install if app exists but not installed by homebrew
This may be something to be fixed upstream by homebrew, but it breaks the flow of the playbook so we may have to workaround around this issue.
failed: [127.0.0.1] (item=viscosity) => changed=false ansible_loop_var: item item: viscosity msg: |- Running
brew update --auto-update... ==> Auto-updated Homebrew! Updated 3 taps (homebrew/core, homebrew/cask and homebrew/services). ==> New Formulae ---------stuff------------ Error: It seems there is already an App at '/Applications/Viscosity.app'.
It would be handy to either
- ignore errors for installations (so the playbook continues even if one item fails)
- check and skip if /Applications/{{ item }}.app allready exists. (this will break updating)