Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.44 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.44 KB

Ansible

Prerequisites

Before we can install Ansible, make sure the XCode command line tools are installed:

xcode-select --install

And we'll need to install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Installation on OSX

The preferred way to install Ansible on OSX is with PIP. However, since OSX does not come with Python 3 natively, we would need to install Python 3 before we could use PIP. We could use Homebrew to upgrade to Python 3, but at this point we might as well install Ansible directly.

brew install ansible

Now that Ansible is installed, we need to include the community.general "galaxy" in order to setup the Homebrew plugin

ansible-galaxy collection install community.general

Run Initial Machine Setup

  1. Setup Dotfiles
  ansible-playbook --ask-vault-pass --tags dotfiles local.yml
  1. Run the remaining initial install scripts
  ansible-playbook --tags <tag> local.yml

Resources