Context
Part of the cross-repo effort tracked in range42-catalog#162 — feat: local APT mirror/cache to speed up Debian/Ubuntu VM provisioning.
The catalog issue defines the full architecture (apt-cacher-ng + apt-mirror box templates, Ansible roles, Docker stacks). This issue tracks the range42-playbooks deliverable: reference scenarios that exercise both options end-to-end using the r42playbooks generator.
What this adds
Two generated scenarios using the dual-lan subnet layout (no network policy):
test_apt_cacher
Validates the apt-cacher-ng caching-proxy path.
| LAN |
VM |
IP |
| lan1 (vmbr150) |
lan1-apt-cache-00 |
192.168.150.10 |
| lan2 (vmbr151) |
lan2-debian-jump-00 |
192.168.151.10 |
| lan2 (vmbr151) |
lan2-ubuntu-jump-00 |
192.168.151.11 |
test_apt_mirror
Validates the full local-mirror path (nginx-served apt-mirror).
| LAN |
VM |
IP |
| lan1 (vmbr150) |
lan1-apt-mirror-00 |
192.168.150.10 |
| lan2 (vmbr151) |
lan2-debian-jump-00 |
192.168.151.10 |
| lan2 (vmbr151) |
lan2-ubuntu-jump-00 |
192.168.151.11 |
Both scenarios were generated with:
r42playbooks new <name> --subnet dual-lan --box "<server>:subnet=lan1" --box "debian-jump:subnet=lan2" --box "ubuntu-jump:subnet=lan2"
Acceptance criteria
Related
Context
Part of the cross-repo effort tracked in range42-catalog#162 — feat: local APT mirror/cache to speed up Debian/Ubuntu VM provisioning.
The catalog issue defines the full architecture (apt-cacher-ng + apt-mirror box templates, Ansible roles, Docker stacks). This issue tracks the range42-playbooks deliverable: reference scenarios that exercise both options end-to-end using the
r42playbooksgenerator.What this adds
Two generated scenarios using the
dual-lansubnet layout (no network policy):test_apt_cacherValidates the
apt-cacher-ngcaching-proxy path.lan1-apt-cache-00lan2-debian-jump-00lan2-ubuntu-jump-00test_apt_mirrorValidates the full local-mirror path (nginx-served apt-mirror).
lan1-apt-mirror-00lan2-debian-jump-00lan2-ubuntu-jump-00Both scenarios were generated with:
Acceptance criteria
test_apt_cacherdeploys cleanly end-to-end on a Proxmox nodetest_apt_mirrordeploys cleanly end-to-end on a Proxmox nodescenario.r42.ymlwith no manual editsRelated