-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathterminal.yaml
100 lines (87 loc) · 2.3 KB
/
terminal.yaml
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
---
- name: Install terminal environment
hosts: all
gather_facts: no
vars:
topsecret_repo: "[email protected]:mauriciovieira/top-secret.git"
topsecret_path: "~/Repositories/gitlab.com/mauriciovieira/top-secret"
vscode_settings: "templates/Library/ApplicationSupport/Code/User/settings.json"
vscode_settings_path: "~/Library/Application Support/Code/User/"
screenshots_path: "~/Pictures/Screenshots"
packages:
- act
- ag
- autojump
- bats
- certbot
- cmake
- composer
- ffmpeg
- ghc
- gifsicle
- git
- git-flow-avh
- gnu-indent
- heroku
- htop
- hub
- imagemagick
- jq
- mosh
- mr
- parity
- passpie
- pv
- shellcheck
- terminal-notifier
- wget
- yarn
- zlib
- zsh
- zsh-completions
cask_packages:
- java
- ngrok
- vagrant
- virtualbox
unwanted_packages:
- asdf
- ccat
- docker-compose
- docker-machine
- firefox
- htop-osx
- pyenv-virtualenvwrapper
- pyenv-virtualenv
- pyenv
tasks:
- name: Ensure {{ topsecret_path }} exists
file: path={{ topsecret_path }} state=directory
- name: Clone / update top-secret repository
git: repo={{ topsecret_repo }} dest="{{ topsecret_path }}" version=master
tags:
- top_secret
- name: Install top-secret stuff
shell: chdir="{{ topsecret_path }}" make install
tags:
- top_secret
- name: Uninstall Homebrew packages
homebrew: name={{ unwanted_packages }} state=absent
tags:
- homebrew
- name: Install Homebrew packages
homebrew: name={{ packages }} state=latest
tags:
- homebrew
- homebrew_only
- name: Install Homebrew Cask packages
homebrew_cask: name={{ cask_packages }} state=installed
tags:
- homebrew
- homebrew_cask
- name: Ensure {{ screenshots_path }} exists
file: path={{ screenshots_path }} state=directory
- name: Set screenshots location
shell: defaults write com.apple.screencapture location {{ screenshots_path }}
- name: Install vscode settings
copy: src="{{ vscode_settings }}" dest="{{ vscode_settings_path }}" mode=0640