Based on the blog post here.
Steps:
On your new machine, you first need ansible. Best way to install on the mac is:
curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python
sudo easy_install pip
pip install ansible
You also need to generate a keypair and add it to your github, as this script clones my dotfiles repo
After cloning this repo:
cd ./local-provisioning
ansible-playbook -i "localhost," -c local playbook.yml
That should be it!