mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 03:38:23 +00:00
Two fixes for the lint-ansible CI job (failing run 25604499233): 1. Add `community.docker` to requirements/requirements.galaxy.yml so `ansible-galaxy collection install -r ...` pulls it in CI. The collection is referenced in 9+ files (web-app-discourse handlers, svc-db-mariadb/openldap, sys-svc-compose/container, web-app-keycloak/ decidim) but was missing from the requirements list, so syntax-check could not resolve `community.docker.docker_container`. 2. Add a "Generate role include files" step to .github/workflows/ lint-ansible.yml. `tasks/groups/*-roles.yml` are gitignored generated artefacts (per tasks/groups/.gitignore: `*-roles.yml`) referenced from tasks/stages/*.yml; without them ansible-lint reports a fatal load-failure on tasks/groups/desk-roles.yml. The new step runs `PYTHON=python3 bash scripts/setup.sh` (same path the local `make setup` target invokes); pyyaml added to the pip install line as that's the only non-stdlib dep the setup script needs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Ansible Collection Requirements
This directory contains Ansible collection requirement files used by the installation logic.
Overview
-
requirements.galaxy.yml
Primary source using Ansible Galaxy. -
requirements.git.yml
Git-based fallback used when Galaxy is unavailable or unstable.
The selection and retry logic is implemented in
scripts/install/ansible.sh.