Debian and Red Hat
This is where the world of Linux operating systems can get slightly confusing. Although we launch Ubuntu 22.04
and Rocky Linux 9
virtual machines to run our playbooks against, we will reference Debian and Red Hat within the playbook code.
Why is that? The reason behind this lies in the lineage of Linux distributions. Ubuntu is a descendant of the Debian operating system, inheriting its package management system and many other features. Similarly, Rocky Linux is a descendant of Red Hat, designed to be a downstream, bug-for-bug compatible release with Red Hat Enterprise Linux (RHEL).
So, when we mention Debian and Red Hat in our playbooks, we’re referring to the fundamental bases from which our two operating systems, Ubuntu and Rocky Linux, have evolved.
In practical terms, the playbook code will often check the underlying distribution type to determine how to proceed with specific tasks. For example, the commands to install a software package on a...