fix(ansible): deploy.yml standalone redeploy installs python3.12 prerequisite (#3538)#3568
Merged
mrveiss merged 1 commit intoDev_new_guifrom Apr 6, 2026
Merged
fix(ansible): deploy.yml standalone redeploy installs python3.12 prerequisite (#3538)#3568mrveiss merged 1 commit intoDev_new_guifrom
mrveiss merged 1 commit intoDev_new_guifrom
Conversation
…prerequisite (#3538) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
Author
Code reviewFound 1 issue:
AutoBot-AI/autobot-slm-backend/ansible/deploy.yml Lines 52 to 63 in 4d16f75 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3538
Root cause
deploy.ymllacked thepython312prerequisite step thatprovision-fleet-roles.ymlhas. Fresh hosts without Python 3.12 fail when theai-stackrole runspython3.12 -m venv(fixed in PR #3536).Fix
Added a single task immediately before the AI/ML role block that runs
include_role: name: python312whenai-stackis in therole_list. Thepython312role is idempotent — it checkspython3.12 --versionfirst and skips installation if already present.Test plan
when: "'ai-stack' in role_list")