Pass ref and repository values to run steps as environment instead of interpolating them into the script (a tag name may contain shell metacharacters). In the image workflow: refuse tags that are not vMAJOR.MINOR.PATCH[-prerelease] before anything runs, purge exactly the packages the prepare step added instead of autoremove and fail on any package or /etc file difference from the base image, send the registry write probe with an empty body, and remove the registry credential after the push also when the build fails. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
mortis.kamino
An Ansible Collection of reusable, hardened roles for a self-hosted home lab: Linux baseline, firewall, SSH, user management and, in later releases, Proxmox, Gitea and Gitea Actions runner roles.
Status: scaffolding. The Collection holds no roles yet; roles arrive in waves (see the extraction plan in the environment repo's ADR 0001). Version 1.0.0 is reserved for the first stable release.
Consuming
The Collection is consumed by git tag and used by fully qualified collection
name (FQCN) only, mortis.kamino.<role>:
# requirements.yml
collections:
- name: https://git.rkdr.net/mortis/kamino.git
type: git
version: v0.1.0
- ansible.builtin.include_role:
name: mortis.kamino.<role>
Pin a tag, never a branch. Releases are annotated vX.Y.Z tags pushed by the
maintainer; the tag equals v plus the version in galaxy.yml. Every role
input carries the role name as a prefix (<role>_<name>).
Licence
Licensed GPL-3.0-or-later (see COPYING). Files marked GPL-3.0-only
(roles/pihole, roles/ufw/templates/before.rules.j2) make the Collection as a
whole distributable under GPL-3.0 only. Third-party material
keeps its own licence, marked by an SPDX header, with texts in LICENSES/ and
attribution in NOTICE. The repository follows the REUSE specification
(reuse lint).
Development
See CONTRIBUTING.md. The release and consumption contract is recorded as ADR
0004 ("The Collection is a public repo released by operator-pushed semver tags
and consumed by FQCN from a baked image") in the maintainer's environment repo.