Skip to content
Deploy a Mac with Ansible
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
handlers
meta
roles
tasks
vars
LICENSE
README.md
osx_config.yml
osx_dotfiles.yml
osx_full_deploy.yml
osx_homebrew.yml
osx_homebrew_casks.yml

README.md

Role Name

The goal is to deploy a Mac using mostly Homebrew.

Requirements

This playbook is run from a local connection via:

ansible-playbook site.yml --extra-vars mac_username=xxxxxx --connection=local

First time runs must complete the following steps:

Homebrew installed

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Ansible installed via Brew

brew install ansible

Github Auth'd

cat ~/.ssh/id_rsa.pub & add that to GitHub

Github API token set

http://stackoverflow.com/questions/20130681/setting-github-api-token-for-homebrew#20130816

After the script has finished then run the .dotfiles setup script to complete the setup.

~/.dotfiles/script/bootstrap

Role Variables

mac_username: local user on the Mac that is logged in and running this playbook.

Dependencies

License

GNU General Public License v2.0

Author Information

Chris Livermore

@e30chris

SimplifyMy.Cloud

You can’t perform that action at this time.