Member-only story

How to Upgrade Ansible on macOS Using Homebrew

Keeping Your Ansible Environment Up-to-Date with Homebrew

Luca Berton
4 min readOct 19, 2023

Introduction

Ansible is a powerful open-source automation tool that simplifies the management of your infrastructure through code. If you’re using Ansible on macOS and want to keep it up to date, Homebrew is a convenient package manager to help you with that. In this guide, we’ll walk you through the steps to upgrade Ansible on your macOS using Homebrew.

Prerequisites:

  1. Homebrew: Ensure that you have Homebrew installed on your macOS. If not, you can install it by following the instructions on the Homebrew website.
  2. Terminal: You’ll need access to your macOS terminal to run the necessary commands.

Checking the Current Version

Before upgrading Ansible, it’s a good practice to check the current installed version. Open your terminal and run the following command:

ansible --version

This command will display information about your current Ansible installation, including the version number.

ansible [core 2.15.5]
config file =…

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet