[meta] Various changes/fixes for osx role

Handle ansible bug w/`with_items`:
https://github.com/ansible/ansible/issues/8055
pull/28/head
Alpha Chen 10 years ago
parent c268a5ef04
commit 6041117b87

@ -1,8 +1,9 @@
---
- command: defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -int 1
sudo: True
- debug: var={{ defaults }}
- command: defaults write {{ item }}
with_items: defaults
with_items: defaults | list
- command: killall {{ item }}
with_items:
- Finder

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

@ -47,7 +47,6 @@ defaults:
- com.apple.dashboard mcx-disabled -bool true # disable dashboard
- com.apple.desktopservices DSDontWriteNetworkStores true # don't write .DS_Store to network volumes
- com.apple.dock autohide -bool true # automatically hide and show the dock
# - com.apple.dock itunes-notifications -bool true
- com.apple.dock mineffect -string scale # minimize windows using the scale effect
- com.apple.dock no-glass -bool true # 2D dock
- com.apple.dock orientation -string left
@ -61,9 +60,9 @@ defaults:
- com.apple.finder FXEnableExtensionChangeWarning -bool false # don't ask when changing file extension
- com.apple.finder QLEnableTextSelection -bool true # enable text selection in QuickLook
- com.apple.finder _FXShowPosixPathInTitle -bool true # show full path in Finder
- com.apple.gamed Disabled -bool true
- com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F" # remap cmd+f to find in iTunes
- com.apple.iTunes invertStoreLinks -bool true
# - com.apple.gamed Disabled -bool true
# - com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F" # remap cmd+f to find in iTunes
# - com.apple.iTunes invertStoreLinks -bool true
- com.apple.screencapture disable-shadow -bool true # no window shadows when capturing windows
- com.apple.screencapture location ~/Downloads
- com.apple.terminal StringEncodings -array 4 # UTF-8 in Terminal
# - com.apple.terminal StringEncodings -array 4 # UTF-8 in Terminal

Loading…
Cancel
Save