Copied from the environment repository's local role. The files are identical except: galaxy namespace mortis; comments, argument_specs descriptions and the README scrubbed of environment references (issue numbers, CI runs, playbooks, inventory paths and groups, scripts and caller roles by name), with the technical explanation kept and reworded generically; the stray-variable guard's fail message drops its issue reference; the molecule scenario calls the role by its FQCN (mortis.kamino.ufw), follows the Kamino scenario conventions (kamino-molecule header, scenario.test_sequence) and no longer sets ANSIBLE_COLLECTIONS_PATH or ANSIBLE_ROLES_PATH. No variable, default, argument_specs type or task logic changed; the test coverage is the same. The README follows the other Kamino roles: purpose, the main, service_rules and orphan_rules entry points, variables, and example plays with the FQCN and tasks_from. The meta licence stays GPL-3.0-or-later AND GPL-3.0-only (templates/before.rules.j2 is derived from ufw's own file, already annotated in REUSE.toml and NOTICE). galaxy.yml's dependency comment names ufw as a community.general user. Not verified locally: the molecule scenario (it runs on the kamino-molecule runner in CI) and ansible-test sanity. Co-Authored-By: Claude Opus 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: roles arrive in waves. Release 1.3.0 holds the docker, fail2ban, network_interfaces, system_baseline and systemd_hardening roles.
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.3.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>).
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.