Skip to content
Ansible playbook to provision a MacBook from scratch (minus the universe)
Shell
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.
files
tasks
.editorconfig
.gitignore
README.md
ansible.cfg
config.yml
install.sh
inventory
main.yml
requirements.yml

README.md

MacOS developement environment provisionning playbook

This will run a series of tasks on the local machine to setup a development environment from scratch.

Requirements

  1. Apple's command line tools (xcode-select --install).
  2. Install Ansible.

Installing

Install script

curl -o- https://raw.githubusercontent.com/mgibeau/mac-dev-playbook/master/install.sh | bash -x

Manual install

$ ansible-galaxy install -r requirements.yml

$ ansible-playbook main.yml -i inventory -K

Tags

This playbook supports partial provisionning through the following tags:

  • homebrew
  • mas
  • macos
  • credentials
  • dev

You can specify only the tags you'd like to (re)run:

$ ansible-playbook main.yml -i inventory -K --tags "homebrew, dev"

Customization

Configuration can be customized through the config.yml file.

References

You can’t perform that action at this time.