-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
115 lines (91 loc) · 2.61 KB
/
main.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
---
- hosts: all
connection: local
tasks:
- name: Install Homebrew
shell: |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- name: Update Homebrew
homebrew:
update_homebrew: yes
- name: Install Python3
homebrew:
name: python3
state: present
- name: Install iTerm2
homebrew_cask:
name: iterm2
state: present
- name: Install Sublime 3
homebrew_cask:
name: sublime-text
state: present
# - name: Install Package Control (Sublime 3 module)
# get_url:
# url: https://packagecontrol.io/Package%20Control.sublime-package
# dest: ~/Library/Application Support/Sublime Text 3/Installed Packages/Package Control.sublime-package
# - name: Install Anaconda (Sublime 3 module)
# shell: |
# cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
# git clone https://github.com/DamnWidget/anaconda
# mv *naconda Anaconda
- name: Install Zsh
homebrew:
name: zsh
state: present
- name: Install Oh My Zsh
shell: |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- name: Change theme (Oh My Zsh)
shell: |
sed -E -i "" 's/ZSH_THEME=".*"/ZSH_THEME="ys"/' ~/.zshrc
- name: Install Chrome
homebrew_cask:
name: google-chrome
state: present
- name: Add homebrew tap
homebrew_tap:
name: koekeishiya/formulae
state: present
- name: Install yabai
homebrew:
name: yabai
state: present
- name: Copy yabai config
shell: |
cp .yabairc ~/
- name: Restart yabai
command: /usr/local/bin/brew services restart yabai
- name: Install skhd
homebrew:
name: koekeishiya/formulae/skhd
state: present
- name: Copy skhd config
shell: |
cp .skhdrc ~/
- name: Restart skhd
command: /usr/local/bin/brew services restart skhd
- name: Install tmux
homebrew:
name: tmux
state: present
- name: Install Dropbox
homebrew_cask:
name: dropbox
state: present
- name: Install Telegram
homebrew_cask:
name: telegram
state: present
- name: Install KeePassXC
homebrew_cask:
name: keepassxc
state: present
- name: Install Spotify
homebrew_cask:
name: spotify
state: present
- name: Install LuLu
homebrew_cask:
name: lulu
state: present