Skip to content

Commit 55ab373

Browse files
committed
init
0 parents  commit 55ab373

File tree

3 files changed

+90
-0
lines changed

3 files changed

+90
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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.git
15+
```
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+
```

hosts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
localhost

localhost.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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

0 commit comments

Comments
 (0)