stoggi / ansible-osx-env

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-osx-env

An Ansible playbook for provisioning a local OS X system. Heavily based on ansible-osx-env by github.com/richardrowe modified for my own use.

Prerequisites

  1. Install Xcode
$ xcode-select --install

(select the Get Xcode option and install the full suite)

  1. Agree to the xcode license
$ sudo xcrun cc
  1. Install Homebrew
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor
  1. Install Python / Pipenv
$ brew install python
$ pip install pipenv
  1. Clone this repository and install Ansible
$ git clone https://github.com/stoggi/ansible-osx-env.git
$ cd ansible-osx-env
$ pipenv install
  1. Run ansible
$ pipenv run ansible-playbook --ask-sudo-pass -i ./inventory local.yml --connection=local

About


Languages

Language:Shell 100.0%