Skip to content

Instantly share code, notes, and snippets.

@dirn
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dirn/cfbe5e0f7de061bcacd1 to your computer and use it in GitHub Desktop.
Save dirn/cfbe5e0f7de061bcacd1 to your computer and use it in GitHub Desktop.
Ansible roles
- host: localhost
remote_user: dirn
roles:
- osx
tags: osx, configuration
- role: vim
dotfiles: "{{ dotfiles }}"
tags: vim
- name: restart Dock
command: killall Dock
- name: restart Finder
command: killall Finder
- name: Check dim hidden apps
command: defaults read com.apple.dock showhidden
changed_when: dim_hidden_apps.stdout != '1'
register: dim_hidden_apps
- name: Set dim hidden apps
command: defaults read com.apple.dock showhidden -bool 'YES'
when: dim_hidden_apps.changed
notify: restart Dock
- include: dock/dim_hidden_apps.yml
- include: dock/icon_size.yml size=42
dependencies:
- role: dotfiles
- role: homebrew
- name: Install Vim
homebrew: name=vim state=present
- include: macvim.yml
- include: neovim.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment