Install Ansible on Mac

The best way to get started on a Mac OS X is to use Homebrew.

Installing Homebrew (if you haven’t)

Install it via walkthrough by running:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

More details at: http://brew.sh

Installing Ansible via Homebrew

Just run the following and you’re done!
$ brew install ansible