-
Notifications
You must be signed in to change notification settings - Fork 1
/
playbook.yml
56 lines (52 loc) · 1.45 KB
/
playbook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
- hosts: all
vars:
base: "{{ inventory_dir }}"
home: "{{ lookup('env', 'HOME') }}"
user: "{{ lookup('env', 'USER') }}"
taps:
- homebrew/cask-fonts
brews:
- ansible
- bash-completion
- colordiff
- fasd
- git
- httpie
- jq
- the_silver_searcher
- tree
- vim
- volta
- wget
casks:
- font-inconsolata-g
- iterm2
files:
agignore:
bin: bin
gitconfig:
gitignore:
iterm2:
vim:
vimrc:
vscode.json: Library/Application Support/Code/User/settings.json
zprofile:
zsh_aliases:
zshrc:
visibility:
bin: hidden
src: hidden
preferences:
- defaults write -g ApplePressAndHoldEnabled -bool false
- defaults write "com.apple.terminal" "Default Window Settings" -string "base16-tomorrow"
- defaults write "com.apple.terminal" "Startup Window Settings" -string "base16-tomorrow"
- defaults write "com.apple.terminal" "Window Settings" -dict-add "base16-tomorrow" "$(cat {{ base }}/preferences/base16-tomorrow.plist)"
- defaults write "com.googlecode.iterm2" LoadPrefsFromCustomFolder -bool true
- defaults write "com.googlecode.iterm2" PrefsCustomFolder "{{ home }}/.iterm2"
tasks:
- include: tasks/homebrew.yml
- include: tasks/files.yml
- include: tasks/vim.yml
- include: tasks/preferences.yml
when: lookup('env', 'PREFS') != '0'