Repeatable Ansible roles and playbook for provisioning my MacBook
- Xcode Command Line Tools:
xcode-select --install - Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" - Git:
brew install git - Ansible:
brew install ansible
mkdir ~/srccd ~/srcgit clone https://github.com/domaindrivendev/my-maccd my-macansible-playbook local.yml
The playbook uses a number of defaulted variables that can be overriden at the command line. For example:
ansible-playbook local.yml --extra-vars "git_global_name=richie [email protected]"
The following defaults can be overriden with this technique: