DigiNews

Tech Watch Articles

← Back to articles

A way to run Ansible 2.19 on old operating systems like Ubuntu 18.04 with working Apt

Quality: 8/10 Relevance: 9/10

Summary

This Raymii.org guide shows how to run Ansible 2.19 on Ubuntu 18.04 despite the OS Python bound by older versions. It documents manually upgrading the target Python to 3.12, using ansible-navigator to manage multiple versions, and workarounds for apt module failures by employing raw commands and dpkg-query to install packages, plus inventory changes to point to a newer Python interpreter. The content is highly practical for IT teams maintaining legacy servers and needing continued automation without a full OS upgrade.

🚀 Service construit par Johan Denoyer