Defame1297 f50ecc2945 feat(gitea_runner): bound the Docker image cache by count and disk usage
An age-based prune does not cap disk use: the cache grows with how often
new image versions are published, and builds on the runner then fail for
lack of space. Keep the newest N image IDs per repository in the weekly
prune, and add an hourly pressure prune that runs the count prune and a
capped builder prune when the Docker root's filesystem passes a
threshold, behind the same job gate. Both are off by default.

Refs #319

Assisted-by: Claude Code
2026-11-23 18:04:50 +00:00
2026-11-23 16:03:41 +00:00
2026-11-23 16:03:41 +00:00

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: roles arrive in waves. Release 1.11.0 holds the cloudflared, docker, fail2ban, gitea, gitea_runner, network_interfaces, sshd, system_baseline, systemd_hardening, 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: v1.11.0

Its dependencies (community.general, ansible.posix) are declared in galaxy.yml, so ansible-galaxy installs them unless the same file already pins a satisfying version.

- 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, pve_lxc, tailscale, pihole.
  • 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.

Languages
Python 79.5%
Shell 8.7%
Dockerfile 6.8%
Jinja 5%