Setup a Mac using Ansible and Home Brew to install my favorite programs
/bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git ansible
mkdir setup && cd setup
Add private key to ssh Copy master key to a file (master.key)
chmod 600 master.key
ssh-add master.key
ssh -T git@github.com
The output from the command will be:
Hi vichanzo! You've successfully authenticated, but GitHub does not provide shell
access.
Clone repo from github
cd ~/setup
git clone git@github.com:vichanzo/Ansible-MacBrew.git
cd Ansible-MacBrew
Run the ansible playbook local.yml
ansible-playbook local.yml
git add -A
git commit -m "This commit does x"
git push