Resolve collections vars from provision_unit, not bare play vars #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/collections-vars-from-provision-unit"
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?
Companion to PR #7/#8: playbook_ansible_collections_url_prefix/default_version were undef()-hinted play vars on hosts: localhost, a different scope from the per-host provision_unit dict (where the root metadata.yml merge from PR #8 actually lands). A value set only in the root metadata.yml never reached Play 2.
Now pulled from the first provision_tech_targets host's own provision_unit, computed only when at least one role actually needs the git-derived path.
-estill overrides.Verified live against the real infrastructure/homelab repo with its new root metadata.yml: both vars land correctly in the rendered host_vars.
🤖 Generated with Claude Code
https://claude.ai/code/session_012icUrjv3vgHtovVpHUFjdp