Skip to content

Playbook for build or upgrade development machines

Notifications You must be signed in to change notification settings

phantomwhale/ansible

Repository files navigation

Mac Development Ansible Playbook

This playbook should install and configures most of the software I use on my Mac for software development. It's currently a work in progress, extracting this functionality from install scripts in my dotfiles repo.

Installation

  1. Ensure Apple's command line tools are installed (xcode-select --install to launch the installer).

  2. Install Ansible:

    1. Install Ansible: python3 -m pip install --user ansible
  3. Clone or download this repository to your local drive.

  4. Run ~/Library/Python/3.9/bin/ansible-galaxy install -r requirements.yml inside this directory to install required Ansible roles.

  5. Run ~/Library/Python/3.9/bin/ansible-playbook --ask-become-pass --ask-vault-pass local.yml inside this directory. Enter macOS account password when prompted for the 'BECOME' password.

Note: If Homebrew commands fail, might need to agree to Xcode's license or fix some other Brew issue. Run brew doctor to see if this is the case.

Reference

Much of the Ansible work builds on top of the useful roles and collections shared by Jeff Geerling, namely https://github.com/geerlingguy/ansible-collection-mac

Manual Steps

An incomplete, inexact and inaccurate list of other steps needed post-install that I haven't, can't or won't automate

Install youtube-music: https://github.com/th-ch/youtube-music

About

Playbook for build or upgrade development machines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages