A ready-to-use ansible playbook to setup macos for general software development. This playbook should be used as an adjunct to the readme at: [https://github.com/chaudhryjunaid/setup-apple-silicon-mac].
For macos 13 Ventura or later.
-
Ensure you have ssh keys created and the public key uploaded to github
-
Install ansible:
brew install ansible # symlink /usr/local/bin/python to wherever python3 is installed in your system if the python binary is not available
-
Clone this repo:
cd ~ git clone git@github.com:chaudhryjunaid/setup-macos.git
-
For a fresh machine, run the complete playbook:
cd ~/setup-macos time ansible-playbook macos-setup.yml -v
The playbook will ask for sudo password and prompt for other information as well in some roles. Please keep an eye on the progress to see if any input is required.
-
If you already have a setup and want to execute/reset only part of the configuration done by this repo, please use the
--tags
or--skip-tags
options:cd setup-macos time ansible-playbook macos-setup.yml --verbose --tags "dotfiles,zsh"
-
Following tags are supported:
- dotfiles
- zsh
- osx
- nodejs
- Please continue with next steps in setup at [https://github.com/chaudhryjunaid/setup-apple-silicon-mac] to complete your setup.