Files
computer-playbook/tests/unit/python
kevinveenbirkenbachandClaude Opus 5 dc1ba4144c fix(roles): name the redirect loop variable and drop a tmpdir default
A looped include that leaves its variable as item inherits whatever a
loop inside the included file binds, so the redirect loop now names
it and the include reads that name. Nothing in the role referred to
item, so the rename reaches every read.

The variants test asked the environment for TMPDIR and substituted
/tmp when it was unset, which is the silent fallback the project
forbids; tempfile.gettempdir() already knows the order to try.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-23 15:48:05 +02:00
..