-
Notifications
You must be signed in to change notification settings - Fork 0
[SETUP] Fix Ansible Collections Path for apt-installed Ansible #9
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinghigh-priorityLevel of prioritization, importance, and relevance of the activity.Level of prioritization, importance, and relevance of the activity.phase-0This refers to the phase of the project to which the code belongs.This refers to the phase of the project to which the code belongs.setupThis refers to the code relevant to the section with the same name in the label.This refers to the code relevant to the section with the same name in the label.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghigh-priorityLevel of prioritization, importance, and relevance of the activity.Level of prioritization, importance, and relevance of the activity.phase-0This refers to the phase of the project to which the code belongs.This refers to the phase of the project to which the code belongs.setupThis refers to the code relevant to the section with the same name in the label.This refers to the code relevant to the section with the same name in the label.
[SETUP] Fix Ansible Collections Path for apt-installed Ansible
Problem Statement
Severity: HIGH
Impact: Blocks ansible-lint validation, affects Phase 2, 4, and all Homebrew-dependent phases
Discovery
During Phase 4 validation (2025-11-04), discovered that
apt-installed Ansible does not automatically detect system-level collections installed in/usr/lib/python3/dist-packages/ansible_collections.Symptoms
Root Cause
When Ansible is installed via
apt, it uses system Python and stores collections in:However, Ansible's default collection search path does not include this location.
Verification
Collections ARE installed, but not in search path:
Permanent Solution
Update
scripts/phase-0-bootstrap.shto configure paths after Ansible installation:Testing Validation
Priority
Priority: HIGH
Blocking: Phase 4 validation
Effort: LOW (15 minutes)
Discovered by: @pierreribeiro
Date: 2025-11-04