forked from superlumic/superlumic-config
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdrupal.yml
More file actions
253 lines (233 loc) · 6.65 KB
/
Copy pathdrupal.yml
File metadata and controls
253 lines (233 loc) · 6.65 KB
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
---
- hosts: 127.0.0.1
connection: local
tasks:
- name: create ssh directory
become: yes
file:
path: '{{item}}'
state: directory
owner: root
group: wheel
mode: 0777
with_items:
- /etc/ssh
- name: Improve ssh config
become: yes
copy:
src: files/ssh_config
dest: /etc/ssh_config
- name: Add to user to sudoers without password
become: yes
lineinfile: >
dest=/etc/sudoers
regexp='{{ item.regexp }}'
line='{{ item.line }}'
state=present
create=true
with_items:
- { regexp: '^{{ansible_user_id}}', line: '{{ansible_user_id}} ALL=(ALL) NOPASSWD: ALL' }
- name: Secondary Pip
become: yes
pip:
name:
- MySQL-Python
- name: Copy vhost script
copy:
src: "~/.slac-mac/virtualhost.sh"
dest: "~/bin/virtualhost.sh"
owner: '{{ ansible_user_id }}'
mode: 0655
- name: copy vhost script conf
copy:
src: "~/.slac-mac/virtualhost.sh.conf"
dest: "~/bin/virtualhost.sh.conf"
owner: '{{ ansible_user_id }}'
mode: 0655
roles:
- profile-all
- profile-drupal-dev
vars:
node_versions:
- 0.12
- 0.8
computername: '{{ ansible_user_id }}'
default_node_version: 0.12
#at your discretion, but I find it works best here
website_path: "/var/sites"
#If you can edit, you should - but git has to have something
git_user_name: '{{ ansible_user_id }}'
git_user_email: '{{ ansible_user_id }}@slac.stanford.edu'
git_config:
user:
name: '{{ ansible_user_id }}'
email: '{{ ansible_user_id }}@slac.stanford.edu'
color:
branch: auto
diff: auto
interactive: auto
status: auto
ui: auto
core:
editor: vim
excludesfile: "~/.gitexcludesfile"
push:
default: current
alias:
clo: clone
co: checkout
st: status
pur: pull --rebase
ci: commit
rc: rebase --continue
lg: log -M --decorate --graph --oneline
br: branch
sth: stash
git_ignore:
- "*.log"
- ".vagrant"
# OS generated files
- ".DS_Store"
- ".DS_Store?"
- "._*"
- ".Spotlight-V100"
- ".Trashes"
- "Icon?"
- "ehthumbs.db"
- "Thumbs.db"
# ide
- "~*"
- ".idea/"
#Which SLAC Sites do you want locally?
#Repo is the github repository
#Site-name will be directory, url and db name, path
slac_sites:
www:
site_name: slac-www
repo: "https://github.com/slac-ocio/slac-www"
path: /var/sites/slac-www
features:
site_name: slac-features
repo: "https://github.com/slac-ocio/slac-features"
path: /var/sites/slac-features
gtw:
site_name: slac-gtw
repo: "https://github.com/slac-ocio/slac-gtw"
path: /var/sites/slac-gtw
#do not change after this line
drush_install_path: /usr/local/share/drush
drush_version: "master"
drush_keep_updated: no
drush_force_update: no
composer_path: /usr/local/bin/composer
composer_home_owner: root
composer_home_group: wheel
php_version: 70
#do not change before this line
#you may add packages at your discretion
sublime_packages:
- dest: "SideBarEnhancements"
repo: "https://github.com/titoBouzout/SideBarEnhancements"
version: "st3"
- dest: "GitGutter"
repo: "https://github.com/jisaacks/GitGutter.git"
version: "master"
- dest: "BracketHighlighter"
repo: "https://github.com/facelessuser/BracketHighlighter.git"
version: "master"
- dest: "Base16"
repo: "https://github.com/chriskempson/base16-textmate.git"
version: "master"
- dest: "Theme - Soda"
repo: "https://github.com/buymeasoda/soda-theme.git"
version: "master"
- dest: "ApplySyntax"
repo: "https://github.com/facelessuser/ApplySyntax.git"
version: "master"
- dest: "SublimeAllAutocomplete"
repo: "https://github.com/alienhard/SublimeAllAutocomplete"
version: "master"
- dest: "Ansible"
repo: "https://github.com/clifford-github/sublime-ansible.git"
version: "master"
#Change your default color scheme here
sublime_text_color_scheme: "Packages/Base16/base16-eighties.dark.tmTheme"
sublime_text_theme: "Soda Dark 3.sublime-theme"
#These are optional but very useful
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: '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
- 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: 0
- domain: 'NSGlobalDomain'
key: 'NSQuitAlwaysKeepsWindows'
type: boolean
value: false
- domain: 'NSGlobalDomain'
key: 'ApplePressAndHoldEnabled'
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