diff --git a/roles/global_defaults/defaults/main.yml b/roles/global_defaults/defaults/main.yml index b49bb72..fea2620 100644 --- a/roles/global_defaults/defaults/main.yml +++ b/roles/global_defaults/defaults/main.yml @@ -83,6 +83,9 @@ system_defaults: banner: motd: false sudo: true + rhel_repo: + source: "iso" # iso|satellite|none — how RHEL systems get packages post-install + url: "" # Satellite/custom repo URL when source=satellite chroot: tool: "arch-chroot" # arch-chroot|chroot|systemd-nspawn diff --git a/roles/global_defaults/tasks/system.yml b/roles/global_defaults/tasks/system.yml index ea37220..342fc89 100644 --- a/roles/global_defaults/tasks/system.yml +++ b/roles/global_defaults/tasks/system.yml @@ -169,6 +169,9 @@ banner: motd: "{{ system_raw.features.banner.motd | bool }}" sudo: "{{ system_raw.features.banner.sudo | bool }}" + rhel_repo: + source: "{{ system_raw.features.rhel_repo.source | default('iso') | string | lower }}" + url: "{{ system_raw.features.rhel_repo.url | default('') | string }}" chroot: tool: "{{ system_raw.features.chroot.tool | string }}" hostname: "{{ system_name }}"