forked from superlumic/superlumic-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
duffy.yml
201 lines (197 loc) · 5.11 KB
/
duffy.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
---
- hosts: localhost
connection: local
tasks:
- homebrew_tap: name={{item}}
with_items:
- caskroom/fonts
- wata727/tflint
- name: install home brew applications
homebrew: name={{item}} state=latest
with_items:
- awscli
- dnsmasq
- go
- libmagic
- kubernetes-cli
- postgresql
- python
- tfenv
- tflint
- tmux
- name: install personal cask applications
homebrew_cask: name={{item}} state=present
with_items:
- adobe-acrobat-reader
- chef/chef/chefdk
- docker
- intellij-idea-ce
- google-chrome
- google-drive-file-stream
- pycharm-ce
# original to superlumic-config - allows preventing screen sleep
- keepingyouawake
- skype
- slack
- sublime-text
- tower
- zoom
# - kaleidoscope
# - hazel
# - superduper
# - microsoft-office
# - paw
# - adobe-creative-cloud
# - alfred
# - dropbox
# - grammarly
# - jaxx
# - visual-studio-code
# - font-fira-code
- name: personal tmux config
become: yes
copy:
src: files/tmux.conf
dest: /Users/duffy/.tmux.conf
owner: duffy
group: staff
mode: 0544
- name: install global python libraries
pip:
executable: pip3
name:
- virtualenv
- name: create ssh directory
become: yes
file:
path: "{{item}}"
state: directory
owner: root
group: wheel
mode: 0777
with_items:
- /etc/ssh
- name: personal ssh config
become: yes
copy:
src: files/ssh_config
dest: /etc/ssh_config
- name: personal ssh config in another location
become: yes
copy:
src: files/ssh_config
dest: /etc/ssh/ssh_config
# - name: add to sudoers without password
# become: yes
# lineinfile: >
# dest=/etc/sudoers
# regexp="{{ item.regexp }}"
# line="{{ item.line }}"
# state=present
# create=true
# with_items:
# - { regexp: '^roderik', line: 'roderik ALL=(ALL) NOPASSWD: ALL' }
roles:
- profile-all
# - profile-developer
vars:
- computername: yttrium
- git_user_name: Duffy Gillman
- git_user_email: [email protected]
- osx_defaults:
- domain: 'com.apple.dock'
key: 'autohide'
type: boolean
value: true
- domain: 'com.apple.dock'
key: 'minimize-to-application'
type: integer
value: 1
- domain: 'com.apple.dock'
key: 'show-process-indicators'
type: boolean
value: true
- domain: 'com.apple.dock'
key: 'orientation'
type: string
value: bottom
- domain: 'NSGlobalDomain'
key: 'NSTableViewDefaultSizeMode'
type: integer
value: 1
- domain: 'com.apple.screencapture'
key: 'type'
type: string
value: png
- domain: 'NSGlobalDomain'
key: 'KeyRepeat'
type: integer
value: 2
- domain: 'NSGlobalDomain'
key: 'InitialKeyRepeat'
type: integer
value: 15
- domain: 'com.apple.menuextra.clock'
key: 'DateFormat'
type: string
value: EEE MMM d hh:mm:ss a
- domain: 'com.apple.menuextra.battery'
key: 'ShowPercent'
type: string
value: 'YES'
- domain: 'com.apple.finder'
key: 'FXPreferredViewStyle'
type: string
value: "clmv"
- domain: 'NSGlobalDomain'
key: 'NSNavPanelExpandedStateForSaveMode'
type: boolean
value: true
- domain: 'NSGlobalDomain'
key: 'PMPrintingExpandedStateForPrint'
type: boolean
value: true
- domain: 'com.apple.dock'
key: 'tilesize'
type: float
value: 32
- domain: 'com.apple.dock'
key: 'autohide-time-modifier'
type: int
value: 0
- domain: 'com.apple.dock'
key: 'autohide-delay'
type: int
value: 5
- domain: 'NSGlobalDomain'
key: 'NSQuitAlwaysKeepsWindows'
type: boolean
value: false
- domain: 'com.apple.desktopservices'
key: 'DSDontWriteNetworkStores'
type: boolean
value: true
- domain: 'com.apple.print.PrintingPrefs'
key: 'Quit When Finished'
type: boolean
value: true
- domain: 'com.apple.Safari'
key: 'IncludeInternalDebugMenu'
type: boolean
value: true
- domain: 'com.apple.Safari'
key: 'IncludeDevelopMenu'
type: boolean
value: true
- domain: 'com.apple.Safari'
key: 'WebKitDeveloperExtrasEnabledPreferenceKey'
type: boolean
value: true
- domain: 'com.apple.Safari'
key: 'com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled'
type: boolean
value: true
- domain: 'NSGlobalDomain'
key: 'WebKitDeveloperExtras'
type: boolean
value: true