How to install Ansible on macOS using Homebrew
This post provides a step-by-step guide with a list of commands on how to install Ansible on macOS using Homebrew.
This post provides a step-by-step guide with a list of commands on how to install Ansible on macOS using Homebrew. Ansible is an open-source software provisioning, configuration management, and application-deployment tool.
What is Ansible?
“Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. Designed for multi-tier deployments since day one, Ansible models your IT infrastructure by describing how all of your systems inter-relate, rather than just managing one system at a time.” ~ Ansible
What is Homebrew?
Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s macOS operating system. It is known as the missing package manager for macOS.
The following is the single command required to install Ansible on macOS using Homebrew.
$ brew install ansible
This section provide a quick set of commands on how to install Ansible on macOS using Homebrew. It is assumed that Homebrew is already installed. If not, please follow this link.
$ brew update # Fetch latest version of homebrew and formula. $ brew search ansible # Searches for formula called packetbeat $ brew info ansible # Displays information about packetbeat $ brew install ansible # Install the packetbeat formulae. $ brew cleanup # Remove any older versions of any formula
Congratulations! You have successfully installed Ansible on macOS making use of Homebrew. Follow me on any of the different social media platforms and feel free to leave comments.