adds: latest tweaks

This commit is contained in:
Ben Dixon
2019-08-16 19:37:39 +01:00
parent f1a406bad8
commit 636275a49f

View File

@@ -10,11 +10,15 @@
heroku/brew, heroku/brew,
thoughtbot/formulae, thoughtbot/formulae,
caskroom/versions, caskroom/versions,
adoptopenjdk/openjdk adoptopenjdk/openjdk,
weaveworks/tap,
fishtown-analytics/dbt
] ]
- name: Install core packages via brew casks - name: Install core packages via brew casks
homebrew_cask: name={{ item }} state=present homebrew_cask: name={{ item }} state=present
ignore_errors: yes
with_items: with_items:
- 1password - 1password
- android-sdk - android-sdk
@@ -40,6 +44,7 @@
- vagrant - vagrant
- virtualbox - virtualbox
- visual-studio-code - visual-studio-code
- vlc
- zeplin - zeplin
- zoomus - zoomus
@@ -49,8 +54,10 @@
'autoconf', 'autoconf',
'automake', 'automake',
'awscli', 'awscli',
'aws-iam-authenticator',
'coreutils', 'coreutils',
'curl', 'curl',
'dbt',
'erlang', 'erlang',
'fzf', 'fzf',
'gnu-time', 'gnu-time',
@@ -64,6 +71,7 @@
'libxslt', 'libxslt',
'libyaml', 'libyaml',
'mas', 'mas',
'mysql',
'openssl' , 'openssl' ,
'pkg-config', 'pkg-config',
'postgresql', 'postgresql',
@@ -72,10 +80,12 @@
'redis', 'redis',
'sshfs', 'sshfs',
'tmux', 'tmux',
'terraform',
'unixodbc', 'unixodbc',
'unzip', 'unzip',
'vim', 'vim',
'watchman', 'watchman',
'weaveworks/tap/eksctl',
'yarn', 'yarn',
'zsh', 'zsh',
'zlib', 'zlib',
@@ -133,6 +143,8 @@
- name: Install Oh My ZSH - name: Install Oh My ZSH
shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
args:
creates: "/Users/{{ lookup('env', 'USER') }}/.oh-my-zsh"
- name: Set ZSH as the default shell - name: Set ZSH as the default shell
shell: chsh -s $(which zsh) {{ lookup('env', 'USER') }} shell: chsh -s $(which zsh) {{ lookup('env', 'USER') }}
@@ -160,6 +172,19 @@
- ruby - ruby
- elixir - elixir
- nodejs - nodejs
- python
- name: "Install Default Python"
shell: |
export LDFLAGS="${LDFLAGS} -L/usr/local/opt/zlib/lib"
export CPPFLAGS="${CPPFLAGS} -I/usr/local/opt/zlib/include"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH} /usr/local/opt/zlib/lib/pkgconfig"
source /Users/{{ lookup('env', 'USER') }}/.asdf/asdf.sh
asdf install python 3.7.3
asdf global python 3.7.3
pip install boto
pip install ansible
asdf reshim python
- name: "Install Default Ruby" - name: "Install Default Ruby"
shell: | shell: |