ansible: delete rehearsal-rootless.yml and the rootless migration task #619
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#619
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
What
ansible/rehearsal-rootless.yml(639 lines) rehearsed the ADR 0031 rootless cutover, which is done. It no longer runs. The task "Install the shared bitborg network Quadlet unit" (:509-521) rendersroles/podman/templates/bitborg.network.j2without a loop, but the template usesitem.name,item.subnetanditem.internal. The play never installsbitborg-data.network, whichforgejo.container.j2:25needs. Its CLIpodman network create bitborg(:300) ignores the pinned 10.89.1.0/24 that the trusted proxies assume.Why
It is dead code with a broken path, and the drill's HOLD mode points operators at it.
Failing case
Run
ansible-playbook ansible/rehearsal-rootless.ymlagainst a held drill VM. The template task fails with'item' is undefined.Fix
Delete the playbook,
roles/forgejo/tasks/migrate-rootless.yml, theinclude_tasksatroles/forgejo/tasks/main.yml:295-301andforgejo_migrate_rootless(roles/forgejo/defaults/main.yml:178-180). Update the references: the HOLD hint inroles/backup-drill/templates/bitborg-backup-drill.py.j2:629androles/backup-drill/defaults/main.yml:86, the comment atopentofu/backup-drill.tofu:62, anddocs/runbook.md(lines 701, 761, 781, 827, 5835, 5954). Keep the runbook's historical rehearsal record, marked as historical.Done when
grep -r rehearsal-rootlessfinds only the historical runbook section.ansible-playbook --syntax-check site.ymlandansible-lintpass.Already done on main by #642 and #653: the playbook, the migrate task, the variable and its references are gone (grep on main finds nothing).