Install Ansible:
git clone git@github.com:ansible/ansible.git ~/src/github.com/ansible/ansible
cd ~/src/github.com/ansible/ansible
git submodule update --init --recursive
sudo make install
git clone git@github.com:hacfi/osxc.git ~/src/github.com/hacfi/osxc
cd ~/src/github.com/hacfi/osxc
ansible-galaxy install -r requirements.yml
export HOMEBREW_CASK_OPTS="--appdir=/Applications"
ansible-playbook osx.yml
ansible-playbook osx_hide.yml --ask-sudo-pass
ansible-playbook configuration.yml
ansible-playbook apps.yml
ansible-playbook fonts.yml
ansible-playbook dev.yml
ansible-playbook nginx.yml
ansible-playbook php.yml
ansible-playbook percona.yml
ansible-playbook elasticsearch.yml
For more information check out osxc/starter.