ADR 0003 moves Molecule out of the ci image, so a ci bump for a tool only Lint uses stops selecting every scenario. This builds and publishes the image; nothing pins it yet (#431). It bakes requirements-molecule.lock (ansible-core, molecule, molecule-plugins[docker]) on the Python of .python-version and the collections of both requirements.yml files, and records their checksums in /opt/molecule-pins.sha256. Its last RUN checks the tool versions against the lock, the Docker driver, every pinned collection and the pin record, so a broken image fails its build. It has no image-smoke scenario: it is the controller of every scenario, and the full run of its pin pull request proves it; images/AGENTS.md records the exception. check_image_versions.py pins now checks the Python header of both locks and fails when their ansible-core pins differ, so Lint and Molecule judge the code with one ansible-core. The new requirements files stay off the selector's IGNORED list, so a bump there runs every scenario. Refs #477 Assisted-by: Claude Code
mortis.kamino
An Ansible Collection of reusable, hardened roles for a self-hosted home lab:
cloudflared, docker, fail2ban, gitea, gitea_runner, network_interfaces,
nfs_client, pihole, pve_lxc, sshd, system_baseline, systemd_hardening, tailscale, traefik, ufw and
user_management, plus the internal _binary_update. Roles still to come are listed under Roadmap.
Status: roles arrive in waves. Release 3.2.0 holds the cloudflared, docker, fail2ban, gitea, gitea_runner, network_interfaces, pihole, pve_lxc, sshd, system_baseline, systemd_hardening, tailscale, traefik, ufw and user_management roles (and the internal _binary_update, which cloudflared, gitea, gitea_runner and traefik call).
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: v3.2.0
Its dependencies (community.general, ansible.posix, community.proxmox) are declared in galaxy.yml, so
ansible-galaxy installs them unless the same file already pins a satisfying version. The modules of
community.proxmox also need the Python library proxmoxer 2.3 or later on the controller
(pip install 'proxmoxer>=2.3'); galaxy.yml cannot declare a Python dependency.
- 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>).
Roadmap
Roles arrive in waves. The order inside a wave is not a promise, and a role arrives only when its own prerequisites (tests, a safe cutover wherever the role already runs) are met.
Still to come:
- Wave 2:
pve_vm. - Wave 3:
rke2,proxmox_host. - Later, wave not yet assigned:
opnsense,proxmox_firewall.
Will not be extracted (they serve one lab or install that lab's own tool pins):
k8s_manage, k8s_localhost, k8s_lint_tools, minecraft_server, dragonwilds_server,
satisfactory_server.
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. Releases follow semantic versioning: annotated vX.Y.Z
tags that only the maintainer can push, a changelog built from antsibull-changelog
fragments, and consumption by pinned git tag and FQCN.