Ansible setup with Azure on a new Mac

Following on from upgrading my Macs to all M1-based ones, I get around to finally needing to use Ansible; typically, I would install Python using PyEnv and then run the following … It should just work?!?! pip install --user ansible pip install --user -r https://github.com/ansible-collections/azure/blob/dev/requirements-azure.txt ansible-galaxy collection install azure.azcollection … and away we go, but this time I came across a few problems. The first was the following error when installing the requirements using the remote requirements-azure....

December 28, 2021 · 2 min · Russ McKendrick

VSCode + Bicep on an M1 Mac

Probably a little late to the party with this one, but I have recently upgraded to an M1 Pro MacBook Pro, for the most part, the problems with moving to arm64 are not as bad as I thought - most are annoying little things. However, the biggest one came when I decided to take a serious look at Bicep. After installing the Bicep VSCode extension  external linkand opening a test Bicep file, I was greeted with the following message …...

December 4, 2021 · 3 min · Russ McKendrick

Managing Python on macOS Monterey

This week was not only the release of macOS Monterey, but it was also new Mac Book Pro week for a lot of people, including myself. Given that it was alot of effot to install Python on macOS Big Sur I was a little worried that it would take the same amount of effort. As I was starting a with a clean macOS Monterey installation and had already installed Homebew external link I just needed to run the following command to install pyenv external link:...

October 30, 2021 · 2 min · Russ McKendrick

Running Podman on macOS

Last weekend I posted about Docker Desktop Alternatives for macOS, and it looks like I missed one as the week before Podman external link release version v3.3.0 external link which introduced support for macOS by allowing you to launch a Podman managed virtual machine. So, What is Podman? Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System. Containers can either be run as root or in rootless mode....

September 12, 2021 · 8 min · Russ McKendrick

Docker Desktop Alternatives for macOS

After the news earlier this week that Docker will be introducing charges to the Docker Subscription Service Agreement, as detailed in the Tweet below: We're updating and extending our product subscriptions! New subscription tiers include Personal, Pro, Team, and Business. Details here: https://t.co/pyDetDKGjC #Docker #Subscriptions pic.twitter.com/Or8l6YoIUO — Docker (@Docker) August 31, 2021 I started to think about looking at alternatives, while I use Docker Desktop I did not use it enough to warrant looking at one of the new subscriptions....

September 5, 2021 · 12 min · Russ McKendrick

Managing Python on macOS Big Sur

When Apple releases a new version of macOS it always takes a few months for everything to catchup, following my last blog post where I mentioned that I was having problems installing Python on macOS Big Sur external linkwhich meant that my preferred method of installing and managing Python using pyenv, which is documented in this blog post external link, didn’t work out of the box — and the workarounds suggested workarounds on GitHub made my shell really slow....

January 10, 2021 · 2 min · Russ Mckendrick

Upgrade Python on MacOS

The latest major version of Python 2 was originally release on 03/07/2010 and on 01/01/2020 Python 2 will be no more; We have decided that January 1, 2020, will be the day that we sunset Python 2. That means that we will not improve it anymore after that day, even if someone finds a security problem in it. You should upgrade to Python 3 as soon as you can. Interestingly the latest version of macOS still ships with Python 2....

December 29, 2019 · 2 min · Russ Mckendrick

Moving to ZSH

After the announcement a few weeks back external link that Apple would be defaulting to zsh external link in macOS Catalina I decided to take the plunge and make the switch on my current machines. I have tried making the switch once before, but for one reason or another I ended up reverting back to Bash. This time I decided to do a little more reading up and also add the .zshrc file to my dotfiles repo external link and move as much as my ....

June 15, 2019 · 2 min · Russ Mckendrick