Skip to content

pnuw/ansible-playbook-mac-dev

 
 

Repository files navigation

Ansible playbook for Mac setup and configuration

This is playbook to install and configure software on a Macbook used for devops and cloud development.

Build status

It is continually evolving and leans heavily on the following examples on Github:

Installation

Run the installer script...

curl -fsSL https://raw.githubusercontent.com/bmacauley/ansible-playbook-mac-dev/master/install | bash

The installer script installs Apple's command line tools , Homebrew, Python Pip, Ansible and finally it downloads and runs this playbook

Alternatively...

  1. Install Apple's command line tools, if they are not installed (xcode-select --install)
  2. Install Homebrew
  3. Install Ansible
  4. Clone this playbook to your Macbook
  5. Run $ ansible-galaxy install -r requirements.yml inside this directory to install required Ansible roles
  6. Run ansible-playbook main.yml -i inventory -K inside this directory. Enter your account password when prompted.

Defaults

Not everyone's development environment and preferred software configuration is the same.

You can override any of the defaults configured in default.config.yml by creating a config.yml file and setting the overrides in that file. For example, you can customize the installed packages and apps with something like:

Included Applications

Applications (Homebrew Casks):

Packages(Homebrew):

Testing the Playbook

Instructions to build a Mac OS X VirtualBox VM(geerlingguy), on which you can continually run and re-run this playbook to test changes and make sure things work correctly.

Additionally, this project is continuously tested on Travis CI's macOS infrastructure.

About

Ansible playbook to set up and configure developer tools on macOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%