[meta] Install homebrew-cask better

pull/28/head
Alpha Chen 10 years ago
parent dc8b0c0377
commit b862d6ca29

@ -1,7 +1,8 @@
tasks: tasks:
- file: path={{ ansible_env.HOME }}/Applications state=directory - file: path={{ ansible_env.HOME }}/Applications state=directory
# - homebrew: name=caskroom/cask/brew-cask state=upgraded # - homebrew: name=caskroom/cask/brew-cask state=upgraded
- command: brew install caskroom/cask/brew-cask - homebrew-tap: name=caskroom/cask state=present
- homebrew: name=brew-cask state=present
- homebrew_cask: name={{ item }} state=installed - homebrew_cask: name={{ item }} state=installed
with_items: with_items:
- slimbatterymonitor - slimbatterymonitor

@ -2,7 +2,8 @@
- include_vars: casks.yml - include_vars: casks.yml
- file: path={{ ansible_env.HOME }}/Applications state=directory - file: path={{ ansible_env.HOME }}/Applications state=directory
# - homebrew: name=caskroom/cask/brew-cask state=upgraded # - homebrew: name=caskroom/cask/brew-cask state=upgraded
- command: brew install caskroom/cask/brew-cask - homebrew-tap: name=caskroom/cask state=present
- homebrew: name=brew-cask state=present
- homebrew_cask: name={{ item }} state=installed - homebrew_cask: name={{ item }} state=installed
with_items: casks with_items: casks
- command: defaults write {{ item }} - command: defaults write {{ item }}

Loading…
Cancel
Save