This playbook installs and configures most of the software I use on my Mac for web and software development. Some things in macOS are difficult to automate (notably, the Mac App Store and certain tools from Apple), so I still have some manual installation steps, but at least it's all documented here.
This is a work in progress, and is mostly a means for me to document my current Mac's setup. I'll be adding settings and packages to this set of playbooks over time.
See also:
- Battleschool
- osxc
- MWGriffin/ansible-playbooks (the original inspiration for this project)
Many people have asked me if I often wipe my entire workstation and start from scratch just to test changes to the playbook. Nope! Instead, I posted instructions for how I build a Mac OS X VirtualBox VM, on which I can continually run and re-run this playbook to test changes and make sure things work correctly.
Check out Ansible for DevOps, which will teach you how to do some other amazing things with Ansible.
Jeff Geerling, 2014 (originally inspired by MWGriffin/ansible-playbooks).
Credit goes to rtrouton for his install_xcode_command_line_tools script