Skip to content

[SETUP] Add ansible-collections-community and ansible-lint to bootstrap #8

@pierreribeiro

Description

@pierreribeiro

Missing Dependencies in Ansible Setup

Problem Statement

During Phase 4 validation, discovered that critical Ansible dependencies are missing from the bootstrap/setup process:

  1. ansible-collections-community - Required for Homebrew module
  2. ansible-lint - Required for code quality validation

Current Impact

Severity: HIGH
Phases Affected: 2, 4, and all future phases using Homebrew

Symptoms

[WARNING]: Error loading plugin 'community.general.homebrew': 
No module named 'ansible_collections.community'

Root Cause

Phase 0 (Bootstrap) installs ansible via apt but missing:

  • ansible-collections-community
  • ansible-lint

Proposed Solution

Update scripts/phase-0-bootstrap.sh:

sudo apt install -y \
    ansible \
    ansible-lint \
    ansible-collection-community-general

Testing Validation

ansible-galaxy collection list | grep community.general
ansible-lint --version
ansible-doc community.general.homebrew

Priority

Priority: HIGH
Blocking: Phase 4 completion
Effort: LOW (10-15 minutes)

Discovered: 2025-11-04 during Phase 4 Recovery

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghigh-priorityLevel of prioritization, importance, and relevance of the activity.phase-0This 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.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions