Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 2.27 KB

README.md

File metadata and controls

47 lines (29 loc) · 2.27 KB

Jayson's Mac Ansible Playbook

Build Status

This playbook installs all my homebrew apps and configurations for me instead of manually configuring every new laptop I get.

See Also

Installation

  1. Ensure Apple's command line tools are installed (xcode-select --install to launch the installer).
  2. Install Ansible.
  3. Clone this repository to your local drive.
  4. Run $ ansible-galaxy install -r requirements.yml inside this directory to install required Ansible roles.
  5. 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.

Running a specific set of tagged tasks

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.

Future additions

Configuration to be added:

  • I need to finish dotfiles setup and vim configuration
  • Installing licenses for apps
  • Rest of App Setup
  • Create Inboxes

Testing the Playbook

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.

Author

Jayon Paul, 2017 (originally forked from mac-dev-playbook by Jeff Geerling)