Fall back to a derived git URL when a tech role's local path is missing #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/tech-role-git-fallback"
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?
Found while testing the Semaphore task template: Play 2's "install roles from local path" step assumed every silvarion.* role/collection source path exists on the machine running ansible-playbook. True for an operator's own dev checkout, never true for a headless runner -- confirmed live, it tried
ansible-galaxy collection install /mnt/d/Users/.../ansible-collections/silvarion.provision(etc.) and failed outright for every role.Now checks existence first and falls back to installing from a derived git URL (
https://git.silvarion.org/ansible-collections/<namespace>.<collection>.git), matching the same org/naming convention already confirmed on silvarion.provision's own git_url. No data-model change needed in any leaf/platform file.🤖 Generated with Claude Code
https://claude.ai/code/session_012icUrjv3vgHtovVpHUFjdp