G6: Add CI to the remaining Ansible roles #54

Open
opened 2026-11-09 17:06:02 +00:00 by claude · 1 comment
Member

Roll the caller workflow out to the other DevOps ansible-role-* repos in batches of about 8 per run so they don't flood the runner. Use path filters and a stagger. Roles in other orgs need Eric to grant access, so list them here rather than working around it.

Acceptance: every DevOps role has a workflow. Remaining orgs are listed for Eric.

Depends on: G5.

Roll the caller workflow out to the other DevOps `ansible-role-*` repos in batches of about 8 per run so they don't flood the runner. Use path filters and a stagger. Roles in other orgs need Eric to grant access, so list them here rather than working around it. **Acceptance**: every DevOps role has a workflow. Remaining orgs are listed for Eric. Depends on: G5.
claude added this to the CI/CD 2: Quality gates milestone 2026-11-09 17:06:02 +00:00
claude added the cicd label 2026-11-09 17:06:02 +00:00
claude added this to the CI/CD Roadmap project 2026-11-09 17:07:33 +00:00
Author
Member

Batch 1 prepared (8 roles): committed and tested locally, not yet run on the runner. Same pattern as G5 (#53): a manual-only caller of the shared role-lint workflow, plus a generated .ansible-lint-ignore. CI files only, so nothing these roles deploy changes.

Role Commit Baseline entries (file + rule)
ansible-role-debian DevOps/ansible-role-debian@846aaad 6
ansible-role-libvirt-guest DevOps/ansible-role-libvirt-guest@bb519f1 3
ansible-role-ingress-nginx DevOps/ansible-role-ingress-nginx@2f3159d 10
ansible-role-grafana DevOps/ansible-role-grafana@6fdc683 7
ansible-role-nextcloud DevOps/ansible-role-nextcloud@df600bd 12
ansible-role-minio DevOps/ansible-role-minio@6fd1c58 8
ansible-role-tor-controller DevOps/ansible-role-tor-controller@2cdf6ff 12
ansible-role-mediawiki DevOps/ansible-role-mediawiki@65e57f4 13

Submodules bumped and docs/ci-cd/adding-ci.md updated (rollout table, test rows) in 9cfa07b. The run lists for this repo and the roles show no runs from these pushes.

One fix beyond the baseline: tor-controller's and mediawiki's skeleton tests/test.yml named roles that don't exist (ansible-role-tor, ansible-role-mediawiki-hidden). --generate-ignore would have baselined that as syntax-check[specific], which means the playbook is never parsed. I changed them to the repo names instead, and the docs now say not to baseline syntax-check findings.

Tested on the workstation: the reusable workflow's run: step, extracted verbatim from the YAML, run in python:3.13.18-slim-trixie with the tools image's pinned requirements.txt, with REPO set as the job sets it:

Case Result
All 8 with their baselines pass
Each plus a new tasks/ci_plant.yml with an unnamed shell: task each fails, with 4 findings on the new file

actionlint 1.7.12 passes on all 8 callers. Not tested: a run on the runner.

Remaining DevOps roles (next batches)

  • Batch 2: ejabberd, inspircd, jamulus, mailman3, nginx-rtmp, open-archiver, pixelfed, wanderer.
  • Batch 3: fediprofile, the-button, peertube, mastodon, matrix-stack, localai, localagi, localrecall.
  • Batch 4: monero, shkeeper, funkwhale, harmony.
  • Needs a look first: ansible-role-nvidia-driver. Its default branch is test and it has a .github/workflows/molecule.yml. Adding .gitea/workflows/ would stop Gitea running the .github one, the same question as helm-pixelfed in #46. ansible-role-docker-mailserver is empty, so there's nothing to lint.

Roles in other orgs, for Eric (this task only changes DevOps repos): Gaming/ansible-role-counter-strike-2, Gaming/ansible-role-luanti, Gaming/ansible-role-luanti-wasm, Gaming/ansible-role-vintage-story, Gaming/ansible-role-tes3mp, Gaming/ansible-role-gondwana, Broadcast/ansible-role-owncast, Finance/ansible-role-kraken-bot, WikiDeck/ansible-role-wikideck, eric/ansible-role-ericomeehan. Each can adopt the same caller from docs/ci-cd/adding-ci.md whenever their owners want.

Why it stays open: every DevOps role needs a caller first, and then, as in G5, the callers switch to push/PR once S8 (#41) passes and G1 (#49) publishes the tools image.

— eom-cicd-roadmap

**Batch 1 prepared (8 roles): committed and tested locally, not yet run on the runner.** Same pattern as G5 (#53): a manual-only caller of the shared role-lint workflow, plus a generated `.ansible-lint-ignore`. CI files only, so nothing these roles deploy changes. | Role | Commit | Baseline entries (file + rule) | |---|---|---| | ansible-role-debian | DevOps/ansible-role-debian@846aaad | 6 | | ansible-role-libvirt-guest | DevOps/ansible-role-libvirt-guest@bb519f1 | 3 | | ansible-role-ingress-nginx | DevOps/ansible-role-ingress-nginx@2f3159d | 10 | | ansible-role-grafana | DevOps/ansible-role-grafana@6fdc683 | 7 | | ansible-role-nextcloud | DevOps/ansible-role-nextcloud@df600bd | 12 | | ansible-role-minio | DevOps/ansible-role-minio@6fd1c58 | 8 | | ansible-role-tor-controller | DevOps/ansible-role-tor-controller@2cdf6ff | 12 | | ansible-role-mediawiki | DevOps/ansible-role-mediawiki@65e57f4 | 13 | Submodules bumped and `docs/ci-cd/adding-ci.md` updated (rollout table, test rows) in 9cfa07b. The run lists for this repo and the roles show no runs from these pushes. **One fix beyond the baseline:** tor-controller's and mediawiki's skeleton `tests/test.yml` named roles that don't exist (`ansible-role-tor`, `ansible-role-mediawiki-hidden`). `--generate-ignore` would have baselined that as `syntax-check[specific]`, which means the playbook is never parsed. I changed them to the repo names instead, and the docs now say not to baseline syntax-check findings. **Tested on the workstation:** the reusable workflow's `run:` step, extracted verbatim from the YAML, run in `python:3.13.18-slim-trixie` with the tools image's pinned `requirements.txt`, with `REPO` set as the job sets it: | Case | Result | |---|---| | All 8 with their baselines | pass | | Each plus a new `tasks/ci_plant.yml` with an unnamed `shell:` task | each fails, with 4 findings on the new file | `actionlint` 1.7.12 passes on all 8 callers. **Not tested:** a run on the runner. **Remaining DevOps roles (next batches)** - Batch 2: ejabberd, inspircd, jamulus, mailman3, nginx-rtmp, open-archiver, pixelfed, wanderer. - Batch 3: fediprofile, the-button, peertube, mastodon, matrix-stack, localai, localagi, localrecall. - Batch 4: monero, shkeeper, funkwhale, harmony. - **Needs a look first:** ansible-role-nvidia-driver. Its default branch is `test` and it has a `.github/workflows/molecule.yml`. Adding `.gitea/workflows/` would stop Gitea running the `.github` one, the same question as helm-pixelfed in #46. ansible-role-docker-mailserver is empty, so there's nothing to lint. **Roles in other orgs, for Eric** (this task only changes DevOps repos): Gaming/ansible-role-counter-strike-2, Gaming/ansible-role-luanti, Gaming/ansible-role-luanti-wasm, Gaming/ansible-role-vintage-story, Gaming/ansible-role-tes3mp, Gaming/ansible-role-gondwana, Broadcast/ansible-role-owncast, Finance/ansible-role-kraken-bot, WikiDeck/ansible-role-wikideck, eric/ansible-role-ericomeehan. Each can adopt the same caller from `docs/ci-cd/adding-ci.md` whenever their owners want. **Why it stays open:** every DevOps role needs a caller first, and then, as in G5, the callers switch to push/PR once S8 (#41) passes and G1 (#49) publishes the tools image. — eom-cicd-roadmap
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DevOps/software-infrastructure#54