[ansible] Add role for OS X

pull/28/head
Alpha Chen 10 years ago
parent 8b4bcad250
commit 0c176eb92a

@ -0,0 +1,2 @@
[local]
localhost

@ -0,0 +1,5 @@
- hosts: local
connection: local
roles:
- osx
- dotfiles

@ -0,0 +1,5 @@
---
# - homebrew: name=caskroom/cask/brew-cask state=upgraded
- command: brew install caskroom/cask/brew-cask
- homebrew_cask: name={{ item }}
with_items: casks

@ -0,0 +1,4 @@
---
- homebrew_tap: tap=caskroom/fonts
- homebrew_cask: name={{ item }}
with_items: fonts

@ -0,0 +1,5 @@
---
- homebrew: name={{ item }} state=upgraded
with_items: formulae
- homebrew: name=macvim install_options=override-system-vim state=upgraded
- command: brew linkapps

@ -0,0 +1,5 @@
---
- homebrew: update_homebrew=yes
- include: homebrew.yml
- include: casks.yml
- include: fonts.yml

@ -0,0 +1,28 @@
---
formulae:
- chruby
- ctags
- fasd
- git
# - macvim # Needs install_options=override-system-vim
- ruby-install
- reattach-to-user-namespace
- the_silver_searcher
- tmux
- youtube-dl
casks:
- adium
- dropbox
- google-chrome
- firefox
- moom
- plug
- qlmarkdown
- qlstephen
- quicklook-csv
- quicklook-json
- steam
- things
- ynab
fonts:
- font-sauce-code-powerline
Loading…
Cancel
Save