/mac-ansible

Bootstrap Macs with Ansible

Primary LanguageShell

Ansible Mac OS X Configuration

Inspired by the work of Adam Chainz and Jeff Geerling this playbook sets up my Macs with Ansible.

Usage

  1. Install Brew. While Ansible can bootstrap Brew, this is a little more simple.
  2. Use Brew to install Python: brew install python.
  3. Install Ansible using Pip: pip3 install ansible.
  4. Run playfile: ansible-playbook playbook.yml.

Common Usage

For the most part you are going to be running:

ansible-playbook playbook.yml --tags brew

Workarounds

Due to run:

defaults write com.googlecode.iterm2 PrefsCustomFolder -string `pwd`/roles/mac/files/iterm2

Before running the playbook from scratch.