forked from jarias/mac-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.yml
More file actions
119 lines (119 loc) · 5.52 KB
/
install.yml
File metadata and controls
119 lines (119 loc) · 5.52 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
---
- hosts: all
tasks:
- name: Tap Hombrew
homebrew_tap: tap={{ item }}
with_items:
- homebrew/binary
- caskroom/fonts
- name: Install cask base packages
homebrew_cask: name={{ item }}
with_items:
- font-inconsolata-dz-for-powerline
- font-hack
- font-source-code-pro
- ngrok
- name: Install base homebrew packages
homebrew: name={{ item.name }} install_options={{ item.options }} state=latest
with_items:
- { name: 'go', options: '--cross-compile-all' }
- { name: 'heroku-toolbelt', options: '' }
- { name: 'imagemagick', options: '' }
- { name: 'docker', options: '' }
- { name: 'docker-compose', options: '' }
- { name: 'mercurial', options: '' }
- { name: 'git', options: '' }
- { name: 'bazaar', options: '' }
- { name: 'direnv', options: '' }
- { name: 'git-flow-avh', options: '' }
- { name: 'maven', options: '' }
- { name: 'gradle', options: '' }
- { name: 'python', options: '' }
- { name: 'node', options: '' }
- { name: 'ruby', options: '' }
- { name: 'postgres', options: '' }
- { name: 'mysql', options: '' }
- { name: 'zsh', options: '' }
- { name: 'pgcli', options: '' }
- { name: 'mycli', options: '' }
- { name: 'vim', options: '--env-std --override-system-vi' }
- { name: 'awscli', options: '' }
- { name: 'nvm', options: '' }
- name: Install heroku plugins
command: heroku plugins:install {{ item }}
with_items:
- heroku-pg-extras
- name: Install ruby gems
gem: name={{ item }} state=latest user_install=yes
with_items:
- bundler
- homesick
- git-smart
- lunchy
- ghost
- name: Set NPM prefix
command: /usr/local/bin/npm config set prefix '~/.npm-packages'
- name: Install NPM packages
npm: name={{ item }} global=yes state=latest
with_items:
- grunt-cli
- bower
- yo
- jshint
- ember-cli
- eslint
- name: Create GOPATH dir
file: state=directory path="~/Golang"
- name: Install default Go packages
shell: GOPATH=~/Golang go get {{ item.package }}
with_items:
- { package: golang.org/x/tools/cmd/gotype }
- { package: golang.org/x/tools/cmd/goimports }
- { package: golang.org/x/tools/cmd/cover }
- { package: golang.org/x/tools/cmd/guru }
- { package: golang.org/x/tools/cmd/gorename }
- { package: github.com/nsf/gocode }
- { package: github.com/alecthomas/gometalinter }
- { package: github.com/golang/lint/golint }
- { package: github.com/rogpeppe/godef }
- { package: github.com/kisielk/errcheck }
- { package: github.com/jstemmer/gotags }
- { package: github.com/klauspost/asmfmt/cmd/asmfmt }
- { package: github.com/fatih/motion }
- { package: github.com/zmb3/gogetdoc }
- { package: github.com/josharian/impl }
- { package: github.com/constabulary/gb/... }
- name: Create VIM bundle directory
file: path=~/.vim/bundle state=directory recurse=true
- name: Create VIM autoload directory
file: path=~/.vim/autoload state=directory recurse=true
- name: install pathogen
command: curl -LSso ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
- name: install vim plugins
git: repo={{ item.repo }} dest=~/.vim/bundle/{{ item.name }}
with_items:
- { repo: 'https://github.com/mileszs/ack.vim.git', name: 'ack.tool' }
- { repo: 'https://github.com/vim-scripts/molokai.git', name: 'molokai.color' }
- { repo: 'https://github.com/scrooloose/nerdtree.git', name: 'nerdtree.tool' }
- { repo: 'https://github.com/jeetsukumaran/vim-buffergator.git', name: 'buffergator.tool' }
- { repo: 'https://github.com/tpope/vim-fugitive.git', name: 'fugitive.tool' }
- { repo: 'https://github.com/fatih/vim-go.git', name: 'go.lang' }
- { repo: 'https://github.com/pangloss/vim-javascript.git', name: 'javascript.lang' }
- { repo: 'https://github.com/mmalecki/vim-node.js.git', name: 'nodejs.lang' }
- { repo: 'https://github.com/kien/ctrlp.vim.git', name: 'ctrlp.tool' }
- { repo: 'https://github.com/scrooloose/nerdcommenter.git', name: 'nerdcommenter.tool' }
- { repo: 'https://github.com/ervandew/supertab.git', name: 'supertab.tool' }
- { repo: 'https://github.com/Lokaltog/vim-easymotion.git', name: 'easymotion.tool' }
- { repo: 'https://github.com/tpope/vim-git.git', name: 'git.lang' }
- { repo: 'https://github.com/tfnico/vim-gradle.git', name: 'gradle.lang' }
- { repo: 'https://github.com/groenewege/vim-less.git', name: 'less.lang' }
- { repo: 'https://github.com/bronson/vim-trailing-whitespace.git', name: 'trailing-whitespace.tool' }
- { repo: 'https://github.com/terryma/vim-multiple-cursors.git', name: 'multiple-cursors.tool' }
- { repo: 'https://github.com/scrooloose/syntastic.git', name: 'syntastic.tool' }
- { repo: 'https://github.com/maksimr/vim-jsbeautify.git', name: 'jsbeautify.tool' }
- { repo: 'https://github.com/tpope/vim-sensible.git', name: 'vim-sensible.config' }
- { repo: 'https://github.com/majutsushi/tagbar.git', name: 'tagbar.tool' }
- { repo: 'https://github.com/vim-scripts/ZoomWin.git', name: 'ZoomWin.tool' }
- { repo: 'https://github.com/chriskempson/base16-vim.git', name: 'base16.color' }
- { repo: 'https://github.com/SirVer/ultisnips.git', name: 'utilsnips.tool' }
- { repo: 'https://github.com/AndrewRadev/splitjoin.vim.git', name: 'splitjoin.tool' }