docs(roles): bring every role README to the fixed heading set #370

Merged
Defame1297 merged 1 commits from docs/136-role-readme-headings into main 2026-11-25 18:18:16 +00:00
Owner

What and why

Closes #136

Every public role README now has the fixed heading set from roles/AGENTS.md: Supported platforms; Requirements and run order; Role variables; Entry points (when several); Variables set by the role (when any); Tags; Example play; Tests; Notes with an "Idempotent" line. A consumer finds the same thing in the same place in every role.

  • Scope is all 13 roles under roles/, including cloudflared, gitea and gitea_runner, which were added after the issue was written.
  • Entry points: all seven supported ones are listed as ### subsections. That is the five named in the issue plus cloudflared and gitea mint. Gitea's "Minting secrets" section became its mint entry point.
  • Variables set by the role: the six documented output facts now sit under this heading (system_baseline, user_management, gitea, cloudflared).
  • Supported platforms names what Molecule passes on, which is Ubuntu 24.04 for every scenario today. Platforms declared in meta/main.yml but not tested go on one "Untested platforms" line.
  • The one-line reason for not covering all three releases explains the hosts a role targets. Adding resolute and its reason is left to #133.
  • Requirements and run order lists the Collection roles each role includes, found by grep of tasks/.
  • A Tests section was written for the nine roles that lacked one, based on each scenario's molecule files.
  • Role-specific sections moved under Entry points or Notes. No content was deleted.
  • _binary_update (internal) keeps its own headings. It gains the platform and Idempotent lines.
  • A trivial changelog fragment.

Verified

  • A throwaway script checked each public README's ## headings against the ordered list, the "Idempotent" line, and the single "Untested platforms" line. It also checked that every sentence of the old README is still present, moved or deliberately reworded. All 13 pass.
  • Commit hooks passed: gitleaks, yamllint, REUSE, the changelog fragment lint, ansible-lint and the commit-msg checks.
  • The pre-push ansible-test sanity passed.
  • A standards review and a spec review were run by separate agents. Their findings were fixed, then a re-review found no remaining problems. Those reviews checked the Tests claims against each role's molecule/default files, the role dependencies against grep mortis.kamino. roles/<role>/tasks, and every in-page anchor.

Not verified

  • No Molecule run. The change is README text only and touches no scenario.
  • Each Tests section was written from the scenario files, not from a run.
  • "Idempotent: yes" rests on each scenario's idempotence step. Gitea's converge applies nothing, so its README says the scenario does not show it.
  • No Markdown linter runs in this repository. The rendering was checked by reading the files.

  • I confirm third-party material is recorded in NOTICE and REUSE.toml, or there is none.

Assisted-by: Claude Code:claude-opus-5-5

## What and why Closes #136 Every public role README now has the fixed heading set from `roles/AGENTS.md`: Supported platforms; Requirements and run order; Role variables; Entry points (when several); Variables set by the role (when any); Tags; Example play; Tests; Notes with an "Idempotent" line. A consumer finds the same thing in the same place in every role. - Scope is all 13 roles under `roles/`, including `cloudflared`, `gitea` and `gitea_runner`, which were added after the issue was written. - Entry points: all seven supported ones are listed as `###` subsections. That is the five named in the issue plus `cloudflared` and `gitea` `mint`. Gitea's "Minting secrets" section became its `mint` entry point. - Variables set by the role: the six documented output facts now sit under this heading (system_baseline, user_management, gitea, cloudflared). - Supported platforms names what Molecule passes on, which is Ubuntu 24.04 for every scenario today. Platforms declared in `meta/main.yml` but not tested go on one "Untested platforms" line. - The one-line reason for not covering all three releases explains the hosts a role targets. Adding `resolute` and its reason is left to #133. - Requirements and run order lists the Collection roles each role includes, found by grep of `tasks/`. - A Tests section was written for the nine roles that lacked one, based on each scenario's molecule files. - Role-specific sections moved under Entry points or Notes. No content was deleted. - `_binary_update` (internal) keeps its own headings. It gains the platform and Idempotent lines. - A `trivial` changelog fragment. ## Verified - A throwaway script checked each public README's `##` headings against the ordered list, the "Idempotent" line, and the single "Untested platforms" line. It also checked that every sentence of the old README is still present, moved or deliberately reworded. All 13 pass. - Commit hooks passed: gitleaks, yamllint, REUSE, the changelog fragment lint, ansible-lint and the commit-msg checks. - The pre-push `ansible-test sanity` passed. - A standards review and a spec review were run by separate agents. Their findings were fixed, then a re-review found no remaining problems. Those reviews checked the Tests claims against each role's `molecule/default` files, the role dependencies against `grep mortis.kamino. roles/<role>/tasks`, and every in-page anchor. ## Not verified - No Molecule run. The change is README text only and touches no scenario. - Each Tests section was written from the scenario files, not from a run. - "Idempotent: yes" rests on each scenario's idempotence step. Gitea's converge applies nothing, so its README says the scenario does not show it. - No Markdown linter runs in this repository. The rendering was checked by reading the files. --- - [x] I confirm third-party material is recorded in `NOTICE` and `REUSE.toml`, or there is none. Assisted-by: Claude Code:claude-opus-5-5
Claude added this to the Continuous delivery milestone 2026-11-25 17:25:05 +00:00
Defame1297 was assigned by Claude 2026-11-25 17:25:05 +00:00
Claude added 1 commit 2026-11-25 17:25:05 +00:00
docs(roles): bring every role README to the fixed heading set
Build / build (pull_request) Successful in 27s
Molecule / molecule (pull_request) Successful in 4s
Lint / lint (pull_request) Successful in 1m21s
234648919c
Every public role README has the headings Supported platforms, Requirements
and run order, Role variables, Entry points (when several), Variables set by
the role (when any), Tags, Example play, Tests and Notes, in that order, with
an "Idempotent" line in Notes. Role-specific sections move under Entry points
or Notes; nothing is removed. The internal _binary_update README keeps its own
headings and gains the platform and Idempotent lines.

Closes #136

Assisted-by: Claude Code:claude-opus-5-5
Defame1297 merged commit a82cbbd306 into main 2026-11-25 18:18:16 +00:00
Defame1297 deleted branch docs/136-role-readme-headings 2026-11-25 18:18:16 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#370