Ansible scripts to setup a Mac
- Be sure to have the XCode Command-Line tools installed:
xcode-select --install
- Install homebrew
- Install ansible
- Install MacVim app and then
ln -s /Applications/MacVim.app/Contents/bin/mvim /usr/local/bin/mvim && ln -s /usr/local/bin/mvim /usr/local/bin/vim
git clone git@github.com:baopham/ansible-mac ~/osxc
- Take a quick look at
requirements.yml
,installation.yml
,configuration.yml
and customizing to your liking. - Start osxc with
ansible-playbook desktop.yml -i inventory
(run:ansible-galaxy install -r requirements.yml
first if you need to install any roles)