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.

30 lines
861 B

- name: copy application preferences
synchronize:
src: "{{ item }}"
dest: "{{ item }}"
rsync_opts: --ignore-existing
with_items: "{{ app_prefs }}"
when: inventory_hostname != "localhost"
- include: dock.yml
- name: set OS X defaults
osx_defaults:
domain: "{{ item.domain | default(omit) }}"
key: "{{ item.key }}"
type: "{{ item.type }}"
value: "{{ item.value }}"
with_items: "{{ osx_defaults }}"
notify: restart OS X system services
- 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: symlink OS X colors palettes
file: src={{ item }} dest=~/Library/Colors/{{ item | basename }} state=link
with_fileglob: ~/.dotfiles/osx/Colors/*