You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
854 B

- hosts: all
tasks:
- group_by: key=os_{{ ansible_distribution }}
tags: always
- hosts: os_MacOSX
tasks:
- file: path=~/Library/KeyBindings state=directory
- name: Symlink Emacs-style keybindings for OS X
file:
src: ~/.dotfiles/osx/DefaultKeyBinding.dict
dest: ~/Library/KeyBindings/DefaultKeyBinding.dict
state: link
- name: Install Webster's 1913 dictionary
block:
- copy:
src: ~/.dotfiles/osx/websters-1913.dictionary
dest: ~/Library/Dictionaries/websters-1913.dictionary
- command: >
/usr/libexec/PlistBuddy
-c "Add :DCSActiveDictionaries:0 string /Users/alpha/Library/Containers/com.apple.Dictionary/Data/Library/Dictionaries/websters-1913.dictionary"
~/Library/Preferences/com.apple.DictionaryServices.plist