EbookFoundation / EbookFoundation/regluit-provisioning

group_vars/test is incomplete — config renders fail on regluit-test

Open
#66 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
6
Forks
8
Avg merge
1h 13m
Merged PRs (30d)
2

Description

Found 2026-07-22 while deploying the #61 settings change: `setup-test.yml --tags config` (new playbook, mirrors setup-prod.yml) fails on the `prod.py.j2` render because `group_vars/test/` has only a 6-key `vars.yml` and **no `vault.yml`** — none of the template's required vars (`mysql_db_*`, `email_*`, `server_name`, `deploy_type`, …) are defined. Test's live `prod.py` has historically been hand-managed.

Interim: applied #61's exact delta by hand to test's rendered `prod.py` (backup at `prod.py.pre-1202-backup`); site + celery verified green.

Fix: build `group_vars/test/vars.yml` + vault-encrypted `vault.yml` from the test box's live rendered settings (per the staging-secrets-audit rule: audit each value for test-vs-prod fitness — no `sk_live`, no prod DB). Then test config renders become first-class like prod.

🤖 Filed by Claude Code.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with setup-test.yml --tags config, setup-prod.yml, group_vars/test/vars.yml, group_vars/test/vault.yml, and the prod.py.j2 render. Compare the test box's live prod.py values against the staging-secrets-audit rule and check each value for test suitability. Done means the test vars and encrypted vault exist and the config render completes successfully without using production secrets.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.