This playbook installs all my homebrew apps and configurations for me instead of manually configuring every new laptop I get.
See Also
- Forked from mac-dev-playbook by Jeff Geerling
- Ensure Apple's command line tools are installed (
xcode-select --install
to launch the installer). - Install Ansible.
- Clone this repository to your local drive.
- Run
$ ansible-galaxy install -r requirements.yml
inside this directory to install required Ansible roles. - Run
ansible-playbook main.yml -i inventory -K
inside this directory. Enter your account password when prompted.
Note: If some Homebrew commands fail, you might need to agree to Xcode's license or fix some other Brew issue. Run
brew doctor
to see if this is the case.
You can filter which part of the provisioning process to run by specifying a set of tags using ansible-playbook
's --tags
flag. The tags available are dotfiles
, homebrew
, mas
, extra-packages
and osx
.
ansible-playbook main.yml -i inventory -K --tags "dotfiles,homebrew"
My dotfiles are also installed into the current user's home directory. You can disable dotfiles management by setting configure_dotfiles: no
in your configuration.
- I need to finish dotfiles setup and vim configuration
- Installing licenses for apps
- Rest of App Setup
- Create Inboxes
You can follow the instructions here to create a Mac OS X VirtualBox VM for testing your playbook changes
This project is continuously tested on Travis CI's macOS infrastructure.
Jayon Paul, 2017 (originally forked from mac-dev-playbook by Jeff Geerling)