From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Using macOS as a control node

Using macOS as a control node

All right, in this video course, the focus is very much on Linux. But you can also use macOS as an Ansible control host. So how does it work? Well, actually, quite simple. Let me show you. On macOS, you need brew. But I'm guessing that if you're a macOS user, and you want to be able to use the latest and greatest open source software, you already have brew installed. So use brew install Ansible to install Ansible. I mean, there's no no need to to stay on this cursor running brew update minus minus auto update, which will stay here for a couple of minutes. So once the brew command is finished, all the software is available And you can use Ansible minus minus version to verify if it worked out. All right. And now look at that. We have Ansible set up with core version 2.17.1. From here, it's business as usual. And that means that you need to create an inventory. You need to create an Ansible.cfg. You need to create SSH keys to enable remote connections. And then you you can use your your…

Contents