feat(docker): add the docker role #72

Merged
Defame1297 merged 3 commits from feat/522-docker-role into main 2026-11-08 19:20:10 +00:00
Owner

What

First wave 1 role, extracted from the maintainer's environment repository: mortis.kamino.docker installs, updates or removes Docker Engine from the upstream APT repository and adds users to the docker group. Includes its molecule scenario (stand-in packages from a signed local repository; no real Docker Engine is run).

Scrub

  • Meta namespace mortis; no private paths, issue numbers or lab wording left in comments, argument_specs or the README.
  • The legacy guard for the removed docker_ufw_rules variable is dropped (nothing defines it any more).
  • The scenario calls the role by FQCN and no longer sets ANSIBLE_COLLECTIONS_PATH or ANSIBLE_ROLES_PATH, which would override the CI's.
  • .ansible-lint gets mock_roles: [mortis.kamino.docker]: CI clones the Collection outside an ansible_collections/mortis/kamino path, so lint cannot resolve the FQCN in the converge play. Checked locally in the repo and in a neutral clone.

Verified

  • The commit hooks: REUSE, yamllint, ansible-lint (production profile), gitleaks, changelog fragment lint, Conventional Commits.

Not verified

  • The molecule scenario: CI only, no local runner. This PR is its first run on kamino-molecule.
  • No version bump and no tag: galaxy.yml stays 0.1.0; the release is the maintainer's.

🤖 Generated with Claude Code

## What First wave 1 role, extracted from the maintainer's environment repository: `mortis.kamino.docker` installs, updates or removes Docker Engine from the upstream APT repository and adds users to the `docker` group. Includes its molecule scenario (stand-in packages from a signed local repository; no real Docker Engine is run). ## Scrub - Meta namespace `mortis`; no private paths, issue numbers or lab wording left in comments, `argument_specs` or the README. - The legacy guard for the removed `docker_ufw_rules` variable is dropped (nothing defines it any more). - The scenario calls the role by FQCN and no longer sets `ANSIBLE_COLLECTIONS_PATH` or `ANSIBLE_ROLES_PATH`, which would override the CI's. - `.ansible-lint` gets `mock_roles: [mortis.kamino.docker]`: CI clones the Collection outside an `ansible_collections/mortis/kamino` path, so lint cannot resolve the FQCN in the converge play. Checked locally in the repo and in a neutral clone. ## Verified - The commit hooks: REUSE, yamllint, ansible-lint (production profile), gitleaks, changelog fragment lint, Conventional Commits. ## Not verified - The molecule scenario: CI only, no local runner. This PR is its first run on `kamino-molecule`. - No version bump and no tag: `galaxy.yml` stays 0.1.0; the release is the maintainer's. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Claude added 1 commit 2026-11-08 19:07:48 +00:00
feat(docker): add the docker role (#522)
Build / build (pull_request) Failing after 22s
Lint / lint (pull_request) Successful in 15s
Molecule / molecule (pull_request) Successful in 2m18s
aad59fc339
Extracted from the environment repository, wave 1. Scrubbed of private
references: namespace mortis, no repository paths or issue numbers in
comments and docs, the removed docker_ufw_rules guard dropped, the molecule
scenario uses the FQCN and no provisioner environment overrides.
ansible-lint mocks the role's FQCN because CI checks the Collection out
outside an ansible_collections path.

Verified: the commit hooks. Not verified: the molecule scenario (CI only).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Defame1297 scheduled this pull request to auto merge when all checks succeed 2026-11-08 19:08:28 +00:00
Defame1297 added 1 commit 2026-11-08 19:12:05 +00:00
fix(docker): ignore the shebang sanity test for the molecule helper script
Build / build (pull_request) Failing after 23s
Lint / lint (pull_request) Successful in 14s
Molecule / molecule (pull_request) Successful in 2m22s
733d077bdb
ansible-test sanity rejects the bash shebang of the scenario's
build-stub-repo.sh. The script is run by the scenario, not by Ansible, so it
keeps its shebang and gets an ignore entry.

Verified: the commit hooks.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Defame1297 added 1 commit 2026-11-08 19:17:15 +00:00
fix(docker): put the sanity ignore comment on the entry line
Build / build (pull_request) Successful in 22s
Lint / lint (pull_request) Successful in 15s
Molecule / molecule (pull_request) Successful in 2m18s
922c00ceb0
ansible-test's ignores test rejects a line that holds only a comment.

Verified: the commit hooks.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Defame1297 merged commit c7d3661887 into main 2026-11-08 19:20:10 +00:00
Defame1297 deleted branch feat/522-docker-role 2026-11-08 19:20:11 +00:00
Claude changed title from feat(docker): add the docker role (#522) to feat(docker): add the docker role 2026-11-24 17:41:47 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#72