Skip to content

Ansible roles for setting up Macbook dev environment

License

Notifications You must be signed in to change notification settings

d0-labs/macbook-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macbook-setup

Purpose

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

Disclaimer

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!

Pre-requisites

The following items must be completed before running this running mbp_setup.yml:

  1. Install Xcode from the Apple App Store

  2. Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install Ansible
brew install ansible
ansible --version

Running the playbook

To run the playbook:

cd <workdir>

git clone [email protected]: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"

Post steps

  1. 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!!

About

Ansible roles for setting up Macbook dev environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages