From 975384661e43a6548d657411aa98f7b8ebb68d2f Mon Sep 17 00:00:00 2001 From: Sandwich Date: Tue, 14 Jul 2026 21:14:41 +0200 Subject: [PATCH] docs(content): correct the family default to rhel=dvd, not EL=dvd --- README.md | 2 +- roles/global_defaults/defaults/main.yml | 3 ++- tests/content/content_fixtures.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d921838..8c585ee 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ Top-level variables outside `system`/`hypervisor`. #### `system.content` -Uniform package content source, family-resolved. `source: ''` defaults to `dvd` on EL and `mirror` on Debian/Ubuntu/Arch. Satellite values come from inventory/vault only, never committed code. +Uniform package content source, family-resolved. `source: ''` defaults to `dvd` on `rhel` and to `mirror` everywhere else, AlmaLinux, Rocky and Fedora included: they have public mirrors, RHEL does not. Satellite values come from inventory/vault only, never committed code. | Key | Type | Default | Description | | -------------------------- | ------ | -------------- | ----------------------------------------------------------------- | diff --git a/roles/global_defaults/defaults/main.yml b/roles/global_defaults/defaults/main.yml index fa817c6..3b45f6f 100644 --- a/roles/global_defaults/defaults/main.yml +++ b/roles/global_defaults/defaults/main.yml @@ -78,7 +78,8 @@ system_defaults: timezone: "Europe/Vienna" locale: "en_US.UTF-8" keymap: "us" - # source: dvd|mirror|satellite|none ('' -> family default: EL=dvd, else mirror). + # source: dvd|mirror|satellite|none ('' -> family default: rhel=dvd, else mirror; + # almalinux/rocky/fedora have public mirrors, rhel does not). # satellite values come from inventory/vault only, never committed code. content: source: "" diff --git a/tests/content/content_fixtures.yml b/tests/content/content_fixtures.yml index 0c85be7..6683b8a 100644 --- a/tests/content/content_fixtures.yml +++ b/tests/content/content_fixtures.yml @@ -1,6 +1,6 @@ --- # Raw system.content input -> expected normalized system_cfg.content. Covers family -# source defaults (EL=dvd, else mirror), url pass-through, satellite inputs, and the +# source defaults (rhel=dvd, else mirror), url pass-through, satellite inputs, and the # Arch reflector lock-out (dropped only when a custom mirror url is set). content_fixtures: - name: arch-mirror-url-drops-reflector