lotus-land-story: unblock apt with archive.debian.org
Bullseye is EOL and the mirror Release file expired, so every apt refresh fails; frozen archive sources keep playbook runs green until the bookworm upgrade.
Assisted-by: GLM-5.3 via pi
diff --git a/lotus-land-story/main.yml b/lotus-land-story/main.yml
index 2baacb0..7446542 100644
--- a/lotus-land-story/main.yml
+++ b/lotus-land-story/main.yml
@@ -17,6 +17,24 @@
ansible.builtin.hostname:
name: lotus-land-story
+ # Temporary until the bookworm upgrade: bullseye is EOL and the expired
+ # mirror breaks every apt refresh. Remove both tasks after the upgrade.
+ # docs/lotus-land-story/2026-10-16-bullseye-to-bookworm.md
+ - name: Point apt at the Debian archive
+ ansible.builtin.copy:
+ dest: /etc/apt/sources.list
+ content: |
+ deb http://archive.debian.org/debian bullseye main
+ deb http://archive.debian.org/debian-security bullseye-security main
+ mode: "0644"
+
+ - name: Allow expired Release files
+ ansible.builtin.copy:
+ dest: /etc/apt/apt.conf.d/99archive-check-valid-until
+ content: |
+ Acquire::Check-Valid-Until "false";
+ mode: "0644"
+
- name: Install ansible requirements
ansible.builtin.apt:
pkg: