Add scripts/provision.sh to work around ansible.cfg's world-writable-mount gap #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/provision-wrapper-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The zero-flag convenience depends entirely on ansible.cfg's auto-discovery succeeding, which silently refuses to load when the CWD is world-writable (confirmed live on a WSL drvfs mount). When that happens, the render plugin never runs and the playbook hard-fails with no inventory parsed and no actionable fallback.
scripts/provision.sh passes
-iandplaybook_inventory_render_direxplicitly every time (fresh mktemp -d per run, cleaned up on exit) -- bypasses ansible.cfg resolution entirely. Verified live: reproduced the exact failure with a bare ansible-playbook call from /tmp with ANSIBLE_CONFIG unset, then confirmed the wrapper succeeds through the same step from identical starting conditions.🤖 Generated with Claude Code
https://claude.ai/code/session_012icUrjv3vgHtovVpHUFjdp