File tree Expand file tree Collapse file tree 3 files changed +90
-0
lines changed
Expand file tree Collapse file tree 3 files changed +90
-0
lines changed Original file line number Diff line number Diff line change 1+ # setup
2+
3+ ## preparation
4+ ### install homebrew
5+ [ link] ( https://brew.sh )
6+ ### install ansible
7+ ```
8+ brew install ansible
9+ ```
10+ ### setup ssh
11+ do something
12+ ### clone setup repository
13+ ```
14+ [email protected] :sakihet/setup.git15+ ```
16+
17+ ## run ansible-playbook
18+ ```
19+ ansible-playbook -i hosts localhost.yml
20+ ```
21+
22+ ## set symbolic link
23+
24+ ## change default shell
25+ ```
26+ sudo vim /etc/shells
27+ chsh -s /usr/local/bin/zsh
28+ ```
Original file line number Diff line number Diff line change 1+ localhost
Original file line number Diff line number Diff line change 1+ - hosts : localhost
2+ connection : local
3+ tasks :
4+ - name : brew update
5+ homebrew :
6+ update_homebrew=yes
7+ - name : brew install
8+ homebrew : name={{ item }}
9+ state : present
10+ with_items :
11+ - ansible
12+ - coreutils
13+ - emacs
14+ - ghq
15+ - git
16+ - go
17+ - node
18+ - mas
19+ - peco
20+ - rbenv
21+ - ruby-build
22+ - tmux
23+ - tree
24+ - zsh
25+ - zsh-completions
26+ - name : brew tap
27+ homebrew_tap : tap={{ item }}
28+ state : present
29+ with_items :
30+ - caskroom/cask
31+ - name : brew cask install
32+ homebrew_cask : name={{ item }}
33+ state : present
34+ with_items :
35+ - atom
36+ - dash
37+ - dropbox
38+ - enpass
39+ - firefox
40+ - google-chrome
41+ - iterm2
42+ - spectacle
43+ - name : enable debug on safari
44+ osx_defaults :
45+ domain : com.apple.Safari
46+ key : IncludeInternalDebugMenu
47+ type : bool
48+ value : true
49+ state : present
50+ - name : clone dotfiles
51+ git :
52+ repo :
[email protected] :sakihet/dotfiles.git 53+ dest : ~/src/github.com/sakihet/dotfiles
54+ - name : clone .atom
55+ git :
56+ repo :
[email protected] :sakihet/.atom.git 57+ dest : ~/src/github.com/sakihet/.atom
58+ - name : clone .emacs.d
59+ git :
60+ repo :
[email protected] :sakihet/.emacs.d.git 61+ dest : ~/src/github.com/sakihet/.emacs.d
You can’t perform that action at this time.
0 commit comments