Ansible roles for setting up my Macbook dev environment. It installs the following:
- Various dev tools (including VSCode)
- VSCode plugins
- The Fish shell, because I prefer it over Bash
I recognize that there's plenty of room for improvement, though I just haven't had time to give this a ton of TLC. Send me a PR if you'd like to submit any tweaks and improvements!
The following items must be completed before running this running mbp_setup.yml
:
-
Install Xcode from the Apple App Store
-
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Ansible
brew install ansible
ansible --version
To run the playbook:
cd <workdir>
git clone git@github.com:d0-labs/macbook-setup.git
cd macbook-setup
ansible-playbook -vv --ask-become-pass mbp_setup.yml --extra-vars "k8s_tools=true" --extra-vars "iac_tools=true" --extra-vars "fish=true"
- Install Docker Desktop for Mac from DockerHub here.
AV Personal note: Way less effort compared to the voodo described here. That said, if you have a better way, send me a PR!!