Cover image for Install Ansible on Mac

Install Ansible on Mac

ben profile image Ben Halpern ・1 min read

For my own tastes, the easiest way to install Ansible on my Mac is via Homebrew...

brew install ansible

For some additional paths, and other OS guides, check out this post...

Hope this helps someone out there find the answer slightly quicker if searching. πŸ˜„

What is Ansible you ask?

Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows. It includes its own declarative language to describe system configuration. Ansible was written by Michael DeHaan and acquired by Red Hat in 2015. Ansible is agentless, temporarily connecting remotely via SSH or Windows Remote Management to do its tasks.


markdown guide

I have a particularly bad experience with anything Python + Homebrew. I was using Ansible to keep Vagrant VMs up to date, and several developer machines stopped working because it wasn't able to link to the correct Python version. The officially recommended way to install Ansible on Mac is through pip.