The second lab in the Ansible series: one playbook mounts the installation ISO on server1, serves it over HTTP and points both servers at it, with BaseOS and AppStream defined once and a group variable deciding whether a server reads them from disk or over the network. Includes facts that went stale after a remount, a check mode that reported nothing to do on an unmounted repo, and the rhel-system-roles firewall role working with no internet.
One RHEL 10 server with the install ISO mounted becomes the package source for every other machine on an air-gapped network: httpd serving /repo, the SELinux mount-context fix that restorecon can't do on a read-only ISO, a firewall opening, and client .repo files pointing at it over plain HTTP with GPG checking still doing the real security work.