-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgo.yaml
executable file
·152 lines (138 loc) · 3.61 KB
/
go.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
#!/usr/bin/env ansible-playbook
---
- name: Common Play
hosts: all
connection: local
tasks:
- name: update brew
homebrew:
update_homebrew: yes
upgrade_all: yes
- name: Install from dupes
homebrew_tap:
name: "{{ item }}"
state: present
with_items:
- homebrew/dupes
- caskroom/cask
- homebrew/fuse
- homebrew/completions
- homebrew/command-not-found
- name: install osx build software
homebrew: name={{ item }} state=present
with_items:
- autoconf
- autoconf-archive
- automake
- boost
- byobu
- cdrtools
- diffuse
- gettext
- hub
- intltool
- libevent
- libmemcached
- libtool
- mysql
- npm
- osxfuse
# lldpd seems to be constantly having issues
# - lldpd
- pcre
- protobuf
- pwgen
- qemu
- shellcheck
- splint
- ssh-copy-id
- sshfs
- swig
- libyaml
- yubico-piv-tool
- yubikey-personalization
- name: install brew cask
command: brew install brew-cask
tags:
- skip_ansible_lint
- name: install osx brew cask software
homebrew_cask: name={{ item }} state=present
with_items:
- apm-bash-completion
- brew-cask-completion
- launchctl-completion
- open-completion
- pip-completion
# This is because not everything will install
# - name: install osx brew cask software
# homebrew_cask: name={{ item }} state=present
# with_items:
# - yubikey-neo-manager
# - yubikey-personalization-gui
# - yubikey-piv-manager
# - dropbox
# - flash
# - github
# - google-chrome
# - google-drive
# - java
# - vmware-fusion
# - launchrocket
# - gpgtools
# - macpass
# - microsoft-lync
# - microsoft-office
- name: brew linkapps
command: brew linkapps
tags:
- skip_ansible_lint
- name: install keybase-installer
npm:
name: "{{ item }}"
global: yes
state: present
with_items:
- jslint
- jsonlint
- keybase-installer
- vimlint
- name: install keybase
command: keybase-installer
tags:
- skip_ansible_lint
- name: install pip
easy_install:
name: pip
state: present
become: yes
- name: pip installs required python libraries
pip:
name: "{{ item }}"
state: present
with_items:
- virtualenv
- setuptools
- requests[security]
become: yes
- name: create local run directory in case lldpd is installed
file:
path: /usr/local/var/run
state: directory
- name: link utilities to local
file:
dest: "/usr/local/bin/{{ item.name }}"
src: "{{ item.src }}/{{ item.name }}"
state: link
force: yes
with_items:
- { src: '/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources', name: 'airport' }
- { src: '/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support', name: 'lsregister' }
- name: link utilities to local
file:
name: "/Applications/{{ item.name }}"
src: "{{ item.src }}/{{ item.name }}"
state: link
force: yes
with_items:
- { src: '/Applications/Xcode.app/Contents/Developer/Applications', name: 'iOS Simulator.app' }
become: yes