-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaybook.yml
More file actions
77 lines (73 loc) · 1.44 KB
/
playbook.yml
File metadata and controls
77 lines (73 loc) · 1.44 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
---
- name: run the playbook tasks on the localhost
hosts: local
connection: local
vars:
applications:
- awscli
- curl
- direnv
- docker
- docker-compose
- fdupes
- gh
- git
- git-flow
- go
- htop
- httpie
- hugo
- jq
- minikube
- neovim
- nvm
- rbenv
- rclone
- rsync
- rustup
- terraform
- tmux
- tree
- vim
- watchman
- wget
- yarn
- zsh
cask_applications:
- anki
- aws-vault
- balenaetcher
- calibre
- docker
- firefox
- google-chrome
- iterm2
- jetbrains-toolbox
- ngrok
- notion
- rstudio
- skype
- slack
- spotify
- surfshark
- transmission
- visual-studio-code
- vlc
- whatsapp
tasks:
- name: install homebrew
shell: 'yes | /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"'
args:
creates: /usr/local/bin/brew
- name: ensure homebrew is updated
homebrew:
state: latest
update_homebrew: yes
- name: start installing homebrew applications
homebrew:
name: "{{applications}}"
state: latest
- name: start installing homebrew cask applications
homebrew_cask:
name: "{{cask_applications}}"
state: upgraded